Skip to content
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

Change password #6

Open
thiagobutignon opened this issue Apr 11, 2024 · 0 comments
Open

Change password #6

thiagobutignon opened this issue Apr 11, 2024 · 0 comments

Comments

@thiagobutignon
Copy link
Owner

You can also use the confirmPasswordReset method to confirm a password reset request. This method takes two arguments: the code from the password reset email and the new password.
Here is an example of how to confirm a password reset request:

firebase.auth().confirmPasswordReset(code, newPassword).then(() => {
  // Password reset confirmed and new password updated.
}).catch((error) => {
  // Handle Errors here.
});

Once the user's password has been reset, they will be able to sign in to their account with their new password.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant