firebase / firebase/snippets-web
Update Password : getASecureRandomPassword is not defined
Open
- Dominant language
- JavaScript
- Stars
- 802
- Forks
- 285
- PR merge metrics
- No merged PRs in 30d
Description
Hello, this code for updating password is not working to my JavaScript app. It always send that "getASecureRandomPassword" is not defined. Here is the code :
const user = auth.currentUser;
const newPassword = getASecureRandomPassword();
updatePassword(user, newPassword)
.then(function() {
// Update successful.
}).catch(function(error) {
// An error happened.
});
Contributor guide
Assessment
This issue has not been assessed yet.