Skip to content

Commit 87bb72b

Browse files
committed
chore: dart format
1 parent 334e8b3 commit 87bb72b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/auth/amplify_auth_cognito_dart/lib/src/state/machines/sign_in_state_machine.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -660,8 +660,7 @@ final class SignInStateMachine
660660
final allowedMfaTypes = _allowedMfaTypes;
661661
// Exclude MfaType.sms from consideration
662662
final mfaTypesForSetup = allowedMfaTypes?.difference({MfaType.sms});
663-
if (allowedMfaTypes == null ||
664-
allowedMfaTypes.isEmpty) {
663+
if (allowedMfaTypes == null || allowedMfaTypes.isEmpty) {
665664
throw const InvalidUserPoolConfigurationException(
666665
'No eligible MFA types are allowed for setup.',
667666
recoverySuggestion: 'Check your user pool MFA configuration.',

0 commit comments

Comments
 (0)