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 334e8b3 commit 87bb72b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -660,8 +660,7 @@ final class SignInStateMachine
final allowedMfaTypes = _allowedMfaTypes;
// Exclude MfaType.sms from consideration
final mfaTypesForSetup = allowedMfaTypes?.difference({MfaType.sms});
if (allowedMfaTypes == null ||
allowedMfaTypes.isEmpty) {
if (allowedMfaTypes == null || allowedMfaTypes.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 87bb72b

Please sign in to comment.