feat: show max password length in complexity components (#7810)

# Which Problems Are Solved

There is confusing ambiguity in the error messages for setting too long
passwords in different places.

# How the Problems Are Solved

A check for maximum password length is added so it's clear that
passwords can't exceed a maximum length of 70 or 72 bytes.
Password validation now provides a live updating check mark or cross
mark to indicate if the maximum length requirement is met.

# Additional Changes

Clarified requirement descriptions on the registration page with
complete sentences.

# Additional Context

Closes #6301

---------

Co-authored-by: Elio Bischof <[email protected]>
This commit is contained in:
Sujoy B
2024-05-23 08:07:36 +00:00
committed by GitHub
co-authored by Elio Bischof
parent f5e9d4f57f
commit cfa3d013a4
31 changed files with 223 additions and 133 deletions
+10 -8
View File
@@ -29,15 +29,17 @@ SelectAccount:
MustBeMemberOfOrg: Der Benutzer muss der Organisation {{.OrgName}} angehören.
Password:
Title: Willkommen zurück!
Description: Gib deine Benutzerdaten ein.
Title: Passwort
Description: Geben Sie Ihre Anmeldedaten ein.
PasswordLabel: Passwort
MinLength: Mindestlänge
HasUppercase: Großbuchstaben
HasLowercase: Kleinbuchstaben
HasNumber: Nummer
HasSymbol: Symbol
Confirmation: Wiederholung stimmt überein
MinLength: Muss mindestens
MinLengthp2: Zeichen lang sein.
MaxLength: Muss weniger als 70 Zeichen lang sein.
HasUppercase: Muss einen Großbuchstaben enthalten.
HasLowercase: Muss einen Kleinbuchstaben enthalten.
HasNumber: Muss eine Zahl enthalten.
HasSymbol: Muss ein Symbol enthalten.
Confirmation: Passwortbestätigung stimmt überein.
ResetLinkText: Passwort zurücksetzen
BackButtonText: Zurück
NextButtonText: Weiter