Skip to content

Commit

Permalink
chore: dart format
Browse files Browse the repository at this point in the history
  • Loading branch information
khatruong2009 committed Oct 7, 2024
1 parent 0fdcc15 commit e630a30
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,10 @@ final class SignInStateMachine
final allowedMfaTypes = _allowedMfaTypes;
// Exclude MfaType.sms from consideration
final mfaTypesForSetup = allowedMfaTypes?.difference({MfaType.sms});
if (allowedMfaTypes == null || allowedMfaTypes.isEmpty || mfaTypesForSetup == null || mfaTypesForSetup.isEmpty) {
if (allowedMfaTypes == null ||
allowedMfaTypes.isEmpty ||
mfaTypesForSetup == null ||
mfaTypesForSetup.isEmpty) {
throw const InvalidUserPoolConfigurationException(
'No eligible MFA types are allowed for setup.',
recoverySuggestion: 'Check your user pool MFA configuration.',
Expand Down

0 comments on commit e630a30

Please sign in to comment.