Merge pull request #2949 from matrix-org/jryans/relax-password

Relax password requirements to score of 3 out of 4
pull/21833/head
J. Ryan Stinnett 2019-05-07 12:56:46 +01:00 committed by GitHub
commit 098476d050
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ const FIELD_USERNAME = 'field_username';
const FIELD_PASSWORD = 'field_password'; const FIELD_PASSWORD = 'field_password';
const FIELD_PASSWORD_CONFIRM = 'field_password_confirm'; 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. * A pure UI component which displays a registration form.