define PASSWORD_MIN_SCORE in one place and import from there

This commit is contained in:
Panagiotis 2021-04-01 12:30:49 +03:00
parent 104bcdd0b0
commit d2f40a859b
3 changed files with 3 additions and 5 deletions

View file

@ -40,7 +40,7 @@ enum RegistrationField {
PasswordConfirm = "field_password_confirm",
}
const PASSWORD_MIN_SCORE = 3; // safely unguessable: moderate protection from offline slow-hash scenario.
export const PASSWORD_MIN_SCORE = 3; // safely unguessable: moderate protection from offline slow-hash scenario.
interface IProps {
// Values pre-filled in the input boxes when the component loads