fixed more error handling for password checks & translations

This commit is contained in:
Joel Biddle
2023-08-22 22:42:02 +10:00
parent 00089a6bba
commit 1f60a3d73e
12 changed files with 294 additions and 163 deletions
+5 -2
View File
@@ -234,9 +234,12 @@
"validate-base": "Password should contain:",
"validate-too-short": "at least 14 characters",
"validate-too-long": "at most 100 characters",
"validate-uppercase": "at least 1 uppercase character",
"validate-lowercase": "at least 1 lowercase character",
"validate-number": "at least 1 number",
"validate-case": "at least 1 lowercase character",
"validate-breached": "The password you provided is in a list of passwords commonly used on other websites. Please try again with a stronger password."
"validate-special-char": "at least 1 special character",
"validate-repeated-char": "at most 2 repeated consecutive characters",
"validate-is-breached": "The password you provided is in a list of passwords commonly used on other websites. Please try again with a stronger password."
},
"token": {
"service-tokens": "Service Tokens",