Skip to content

Commit e630a30

Browse files
committed
chore: dart format
1 parent 0fdcc15 commit e630a30

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

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

0 commit comments

Comments
 (0)