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 e69d96b commit 764f16dCopy full SHA for 764f16d
packages/auth/amplify_auth_cognito_dart/lib/src/sdk/sdk_bridge.dart
@@ -887,7 +887,7 @@ extension on String {
887
MfaType get mfaType => switch (this) {
888
'SOFTWARE_TOKEN_MFA' => MfaType.totp,
889
'SMS_MFA' => MfaType.sms,
890
- 'EMAIL_MFA' => MfaType.email,
+ 'EMAIL_OTP' => MfaType.email,
891
final invalidType => throw StateError('Invalid MFA type: $invalidType'),
892
};
893
}
0 commit comments