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 1e9e9da commit b175d26Copy full SHA for b175d26
packages/auth/amplify_auth_cognito_dart/lib/src/auth_plugin_impl.dart
@@ -891,13 +891,15 @@ class AmplifyAuthCognitoDart extends AuthPluginInterface
891
Future<void> updateMfaPreference({
892
MfaPreference? sms,
893
MfaPreference? totp,
894
+ MfaPreference? email,
895
}) async {
896
final tokens = await _stateMachine.getUserPoolTokens();
897
final accessToken = tokens.accessToken.raw;
898
return _cognitoIdp.setMfaSettings(
899
accessToken: accessToken,
900
sms: sms,
901
totp: totp,
902
+ email: email,
903
);
904
}
905
0 commit comments