We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e59843 commit 22c6c77Copy full SHA for 22c6c77
Sources/Authenticator/Views/SignInView.swift
@@ -63,9 +63,7 @@ public struct SignInView<Header: View,
63
// Password validation is dynamic based on authentication flow
64
// Check at validation time, not init time, since authenticationFlow may not be available yet
65
self._passwordValidator = StateObject(wrappedValue: Validator(
66
- using: { [weak state] value in
67
- guard let state = state else { return nil }
68
-
+ using: { value in
69
// Password is always required when shown (both password flow and userChoice with password preferred)
70
return FieldValidators.required(value)
71
}
0 commit comments