OlhenShu / ProjectStage_Team2_May

0 stars 0 forks source link

Common fields requirements #189

Open OlhenShu opened 3 months ago

OlhenShu commented 3 months ago

1. Email:

-Must include: “@” -Max chars: 72 -Min chars: 3 -not case sensitive ( e.g. UBS_user@example.com = ubs_user@example.com) -All characters are allowed except of space symbol

2. User name:

-Max chars: 30 -Min chars: 1 -Letters should be whether from Cyrillic or Latin alphabets -Can include: letters, digits, dots (e.g. Ira, Ira99, Ira.Prut, Ira.99Prut). Dot at the start, in the end, and consecutive dot is forbidden.

3. Password:

-Min chars: 8 -Max chars: 20 -At least 1 char of Uppercase letter (A-Z) -At least 1 char of lowercase letter (a-z) -At least 1 digit (0-9) -At least 1 special char (~`!@#$%^&*()+=_-{}[]|:;”’?/<>,.) -Password should not contain spaces (“ ”) -Password must be hidden -Passwords should be able to make visible, by clicking on the “eye” button

General requirements for all fields: spaces that the User typed at the end and in the beginning of each field should be ignored by the system