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 710491b commit cbe1c9cCopy full SHA for cbe1c9c
packages/amplify_authenticator/lib/src/widgets/form.dart
@@ -340,7 +340,7 @@ class _SignUpFormState extends AuthenticatorFormState<SignUpForm> {
340
.toList();
341
342
final hasSmsMfa = authConfig?.mfaTypes?.contains(MfaType.sms) ?? false;
343
- if (hasSmsMfa) {
+ if (hasSmsMfa && selectedUsernameType != UsernameType.phoneNumber) {
344
final mfaConfiguration =
345
authConfig?.mfaConfiguration ?? MfaConfiguration.off;
346
final hasSmsField = runtimeFields.any(
0 commit comments