Skip to content

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

misc: minor ui adjustments

Sheen Capadngandc7bf9674ab1
diff --git a/backend/src/services/auth/auth-fns.ts b/backend/src/services/auth/auth-fns.ts
index 2a322fdeae..ecbf73a485 100644
--- a/backend/src/services/auth/auth-fns.ts
+++ b/backend/src/services/auth/auth-fns.ts
@@ -50,7 +50,7 @@ export const enforceUserLockStatus = (isLocked: boolean, temporaryLockDateEnd?:
throw new UnauthorizedError({
name: "User Locked",
message:
- "User is locked due to multiple failed login attempts. An email has been sent to you in order to unlock your account. You can also reset your password to unlock."
+ "User is locked due to multiple failed login attempts. An email has been sent to you in order to unlock your account. You can also reset your password to unlock your account."
});
}
diff --git a/backend/src/services/smtp/templates/unlockAccount.handlebars b/backend/src/services/smtp/templates/unlockAccount.handlebars
index cb1859e51c..36664be872 100644
--- a/backend/src/services/smtp/templates/unlockAccount.handlebars
+++ b/backend/src/services/smtp/templates/unlockAccount.handlebars
@@ -9,7 +9,7 @@
<body>
<h2>Unlock your Infisical account</h2>
<p>Your account has been temporarily locked due to multiple failed login attempts. </h2>
- <a href="{{callback_url}}?token={{token}}">Unlock your account now</a>
+ <a href="{{callback_url}}?token={{token}}">To unlock your account, follow the link here</a>
<p>If these attempts were not made by you, reset your password immediately.</p>
</body>
diff --git a/frontend/src/views/Login/components/MFAStep/MFAStep.tsx b/frontend/src/views/Login/components/MFAStep/MFAStep.tsx
index bf90b9cabd..b23af1cef9 100644
--- a/frontend/src/views/Login/components/MFAStep/MFAStep.tsx
+++ b/frontend/src/views/Login/components/MFAStep/MFAStep.tsx
@@ -5,7 +5,7 @@ import { useRouter } from "next/router";
import axios from "axios";
import jwt_decode from "jwt-decode";
-import Error from "@app/components/basic/Error"; // which to notification
+import Error from "@app/components/basic/Error";
import { createNotification } from "@app/components/notifications";
import attemptCliLoginMfa from "@app/components/utilities/attemptCliLoginMfa";
import attemptLoginMfa from "@app/components/utilities/attemptLoginMfa";
@@ -234,7 +234,7 @@ export const MFAStep = ({ email, password, providerAuthToken }: Props) => {
/>
</div>
{typeof triesLeft === "number" && (
- <Error text={`${t("mfa.step2-code-error")} ${triesLeft}`} />
+ <Error text={`Invalid code. You have ${triesLeft} attempt(s) remaining.`} />
)}
<div className="mx-auto mt-2 flex w-1/4 min-w-[20rem] max-w-xs flex-col items-center justify-center text-center text-sm md:max-w-md md:text-left lg:w-[19%]">
<div className="text-l w-full py-1 text-lg">