Skip to content

Update Password : getASecureRandomPassword is not defined #363

Open
@NinoMichael

Description

@NinoMichael

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.
    });

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @NinoMichael

      Issue actions

        Update Password : getASecureRandomPassword is not defined · Issue #363 · firebase/snippets-web