Password Policy: Validate strong password upon update (#83959)

* add drawer for auth settings

* add StrongPasswordField component

* Add style to different behaviours

* update style for component

* add componenet to ChangePasswordForm

* pass the event handlers to the child component

* add style for label container

* expose strong password policy config option to front end

* enforce password validation with config option
This commit is contained in:
linoman
2024-03-07 01:56:48 -06:00
committed by GitHub
parent 7bc8b27c33
commit 8e827afb8c
7 changed files with 166 additions and 18 deletions

View File

@@ -1208,7 +1208,8 @@
"new-password-same-as-old": "New password can't be the same as the old one.",
"old-password-label": "Old password",
"old-password-required": "Old password is required",
"passwords-must-match": "Passwords must match"
"passwords-must-match": "Passwords must match",
"strong-password-validation-register": "Password does not comply with the strong password policy"
}
},
"public-dashboard": {

View File

@@ -1208,7 +1208,8 @@
"new-password-same-as-old": "Ńęŵ päşşŵőřđ čäʼn'ŧ þę ŧĥę şämę äş ŧĥę őľđ őʼnę.",
"old-password-label": "Øľđ päşşŵőřđ",
"old-password-required": "Øľđ päşşŵőřđ įş řęqūįřęđ",
"passwords-must-match": "Päşşŵőřđş mūşŧ mäŧčĥ"
"passwords-must-match": "Päşşŵőřđş mūşŧ mäŧčĥ",
"strong-password-validation-register": "Päşşŵőřđ đőęş ʼnőŧ čőmpľy ŵįŧĥ ŧĥę şŧřőʼnģ päşşŵőřđ pőľįčy"
}
},
"public-dashboard": {