Skip to content

Commit c1d33e3

Browse files
committed
chore: edit doc comment in auth_plugin_impl
1 parent c98ce74 commit c1d33e3

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
@@ -885,8 +885,8 @@ class AmplifyAuthCognitoDart extends AuthPluginInterface
885885
/// {@template amplify_core.amplify_auth_category.update_mfa_preference}
886886
/// Updates the MFA preference for the current user.
887887
///
888-
/// If [sms] or [totp] is `null`, the preference for that MFA type is left
889-
/// unchanged. Setting either [sms] or [totp] to [MfaPreference.preferred]
888+
/// If [sms], [totp], or [email] is `null`, the preference for that MFA type is left
889+
/// unchanged. Setting either [sms], [totp], or [email] to [MfaPreference.preferred]
890890
/// will mark the other as not preferred.
891891
/// {@endtemplate}
892892
Future<void> updateMfaPreference({

0 commit comments

Comments
 (0)