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