videosphere
    Preparing search index...

    Function updateUserPasswordHash

    • Updates the bcrypt password hash for a user profile.

      Parameters

      • userId: string

        Auth user id to update.

      • passwordHash: string

        New bcrypt hash to persist.

      Returns Promise<void>

      Resolves when the profile update completes.

      Error with code 404 when no matching profile exists.