Skip to content

Commit 5e27c4b

Browse files
committed
chore: edit doc comment in auth_plugin_impl
1 parent 0694667 commit 5e27c4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/auth/amplify_auth_cognito_dart/lib/src/auth_plugin_impl.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -884,8 +884,8 @@ class AmplifyAuthCognitoDart extends AuthPluginInterface
884884
/// {@template amplify_core.amplify_auth_category.update_mfa_preference}
885885
/// Updates the MFA preference for the current user.
886886
///
887-
/// If [sms] or [totp] is `null`, the preference for that MFA type is left
888-
/// unchanged. Setting either [sms] or [totp] to [MfaPreference.preferred]
887+
/// If [sms], [totp], or [email] is `null`, the preference for that MFA type is left
888+
/// unchanged. Setting either [sms], [totp], or [email] to [MfaPreference.preferred]
889889
/// will mark the other as not preferred.
890890
/// {@endtemplate}
891891
Future<void> updateMfaPreference({

0 commit comments

Comments
 (0)