videosphere
    Preparing search index...

    Function revertGoogleAuthToPassword

    • Reverts a Google OAuth account to password-based login.

      Parameters

      • userId: string

        Auth user id.

      • passwordHash: string

        Bcrypt hash for the new password.

      Returns Promise<void>

      Resolves when the profile update completes.

      Error with code 404 when no matching profile exists.