Update low entropy password error message

This commit is contained in:
Tuan Dang
2023-08-30 21:27:31 +01:00
parent f21eb3b7c8
commit e770bdde24
3 changed files with 3 additions and 3 deletions

View File

@@ -238,7 +238,7 @@
"validate-noNumOrSpecialChar": "at least 1 number or special character",
"validate-repeatedChar": "at most 3 repeated, consecutive characters",
"validate-escapeChar": "No escape characters allowed.",
"validate-lowEntropy": "Password contains sensitive data.",
"validate-lowEntropy": "Password contains personal info.",
"validate-breached": "Password was found in a data breach."
},
"token": {

View File

@@ -76,7 +76,7 @@ const checkPassword = async ({ password, setErrors }: CheckPasswordParams): Prom
validator: (pwd: string) => (
!lowEntropyRegexes.some(regex => regex.test(pwd))
),
errorText: "Password contains sensitive data.",
errorText: "Password contains personal info.",
},
];

View File

@@ -350,7 +350,7 @@ export default function PasswordReset() {
<div
className={`${passwordErrorLowEntropy ? "text-gray-400" : "text-gray-600"} text-sm`}
>
Password contains sensitive data.
Password contains personal info.
</div>
</div>
<div className="ml-1 flex flex-row items-center justify-start">