-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for 1165 #1254
Fix for 1165 #1254
Conversation
packages/auth/src/Auth.ts
Outdated
@@ -403,6 +403,7 @@ export default class AuthClass { | |||
|
|||
/** | |||
* get user current preferred mfa option | |||
* this method doesn't work with totp, we need to deprecate it. | |||
* @param {CognitoUser} user - the current user | |||
* @return - A promise resolves the current preferred mfa option if success |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@deprecated
@powerful23 actually when the MFA is disabled, the
in the |
@MiroslavPetrik Thanks, will update it. |
@powerful23 when do you plan to publish this? |
@MiroslavPetrik I am going to do a publish this week. |
This pull request has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Issue #, if available:
fixes #1165
fixes #1204
fixes #1259
Adds an api to get current preferred mfa type.
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.