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 334e8b3 commit 87bb72bCopy full SHA for 87bb72b
packages/auth/amplify_auth_cognito_dart/lib/src/state/machines/sign_in_state_machine.dart
@@ -660,8 +660,7 @@ final class SignInStateMachine
660
final allowedMfaTypes = _allowedMfaTypes;
661
// Exclude MfaType.sms from consideration
662
final mfaTypesForSetup = allowedMfaTypes?.difference({MfaType.sms});
663
- if (allowedMfaTypes == null ||
664
- allowedMfaTypes.isEmpty) {
+ if (allowedMfaTypes == null || allowedMfaTypes.isEmpty) {
665
throw const InvalidUserPoolConfigurationException(
666
'No eligible MFA types are allowed for setup.',
667
recoverySuggestion: 'Check your user pool MFA configuration.',
0 commit comments