Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Update low entropy password error message

Tuan Dange770bdde242e
diff --git a/frontend/public/locales/en/translations.json b/frontend/public/locales/en/translations.json
index cea11c2eaf..f989f2f3a0 100644
--- a/frontend/public/locales/en/translations.json
+++ b/frontend/public/locales/en/translations.json
@@ -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": {
diff --git a/frontend/src/components/utilities/checks/password/checkPassword.ts b/frontend/src/components/utilities/checks/password/checkPassword.ts
index 55fede5a6e..066303e1f9 100644
--- a/frontend/src/components/utilities/checks/password/checkPassword.ts
+++ b/frontend/src/components/utilities/checks/password/checkPassword.ts
@@ -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.",
},
];
diff --git a/frontend/src/pages/password-reset.tsx b/frontend/src/pages/password-reset.tsx
index 0f63ef4af9..3e2699e204 100644
--- a/frontend/src/pages/password-reset.tsx
+++ b/frontend/src/pages/password-reset.tsx
@@ -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">