mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Update low entropy password error message
This commit is contained in:
@@ -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": {
|
||||
|
||||
@@ -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.",
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user