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 <elio@zitadel.com>
This commit is contained in:
Sujoy B
2024-05-23 04:07:36 -04:00
committed by GitHub
parent f5e9d4f57f
commit cfa3d013a4
31 changed files with 223 additions and 133 deletions

View File

@@ -27,19 +27,22 @@ SelectAccount:
SessionState0: активен
SessionState1: Не сте в профила си
MustBeMemberOfOrg: 'Потребителят трябва да е член на {{.OrgName}} организация.'
Password:
Title: Парола
Description: Въведете вашите данни за вход.
Description: Въведете данните си за вход.
PasswordLabel: Парола
MinLength: Минимална дължина
HasUppercase: Главна буква
HasLowercase: Малка буква
HasNumber: Номер
HasSymbol: Символ
Confirmation: Съвпадение за потвърждение
ResetLinkText: нулиране на парола
BackButtonText: обратно
NextButtonText: следващия
MinLength: Трябва да е поне
MinLengthp2: символа дълга.
MaxLength: Трябва да е по-малко от 70 символа.
HasUppercase: Трябва да включва главна буква.
HasLowercase: Трябва да включва малка буква.
HasNumber: Трябва да включва число.
HasSymbol: Трябва да включва символ.
Confirmation: Потвърждението на паролата съвпада.
ResetLinkText: Нулиране на паролата
BackButtonText: Назад
NextButtonText: Напред
UsernameChange:
Title: Промяна на потребителското име
Description: Задайте новото си потребителско име