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