mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
Relax password requirements to score of 3 out of 4
This makes it a bit easier to meet the requirements while still requiring a fairly strong value. The progress bar displays a score of 3 as reaching 100% for simplicity. Fixes https://github.com/vector-im/riot-web/issues/9642
This commit is contained in:
parent
19cd02e4e2
commit
74803c8ae1
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ const FIELD_USERNAME = 'field_username';
|
|||
const FIELD_PASSWORD = 'field_password';
|
||||
const FIELD_PASSWORD_CONFIRM = 'field_password_confirm';
|
||||
|
||||
const PASSWORD_MIN_SCORE = 4; // So secure, many characters, much complex, wow, etc, etc.
|
||||
const PASSWORD_MIN_SCORE = 3; // safely unguessable: moderate protection from offline slow-hash scenario.
|
||||
|
||||
/**
|
||||
* A pure UI component which displays a registration form.
|
||||
|
|
Loading…
Reference in a new issue