Hiyve Components - v1.0.0
    Preparing search index...

    Function passwordRulesMet

    • How many rules are satisfied, 0–5 — the honest basis for a strength indicator. Deriving the bar from the SAME rules the server enforces is what stops it promising "Strong" for a password that will be rejected.

      Parameters

      • password: string
      • minLength: number = DEFAULT_PASSWORD_MIN_LENGTH

      Returns number