videosphere
    Preparing search index...

    Function userSupportsPasswordReset

    • Returns whether an account is eligible for password reset and admin-initiated reset flows. Eligibility is determined solely by authProvider; passwordHash is not consulted.

      Parameters

      • profile: { authProvider?: UserAuthProvider }

        User auth fields from user_profiles (authProvider only).

      Returns boolean

      True when authProvider is 'password'; false for 'google' or missing.