Skip to content

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

feat(signup): label attribution step submit button "Next" (#7445)

claude[bot]d40178b7d59f
diff --git a/frontend/public/locales/en/translations.json b/frontend/public/locales/en/translations.json
index e17baf2614..c83c477a99 100644
--- a/frontend/public/locales/en/translations.json
+++ b/frontend/public/locales/en/translations.json
@@ -309,6 +309,7 @@
"og-title": "Replace .env files with 1 line of code. Sign Up for Infisical in 3 minutes.",
"og-description": "Infisical a simple end-to-end encrypted platform that enables teams to sync and manage API-keys and environemntal variables. Works with Node.js, Next.js, Gatsby, Nest.js...",
"signup": "Sign Up",
+ "next": "Next",
"already-have-account": "Have an account? Log in",
"forgot-password": "Forgot your password?",
"initial-title": "Create your Infisical account",
diff --git a/frontend/src/components/auth/UserInfoStep.tsx b/frontend/src/components/auth/UserInfoStep.tsx
index 8b8e464064..69238caf92 100644
--- a/frontend/src/components/auth/UserInfoStep.tsx
+++ b/frontend/src/components/auth/UserInfoStep.tsx
@@ -107,6 +107,8 @@ export default function UserInfoStep({
const canSubmit = isPasswordValidated && !isLoading;
const accountStepTitle = isInvite ? "Set up your account" : t("signup.step3-message");
const stepTitle = isAttributionStep ? "We'd love to know..." : accountStepTitle;
+ // Submit label defaults to "Next" for the standard flow; the invite flow overrides it to "Sign Up".
+ const submitLabel = isInvite ? t("signup.signup") : t("signup.next");
const onSubmit = async (formData: UserInfoFormData) => {
const latestBreachStatus = await validatePassword(formData.password);
@@ -285,7 +287,7 @@ export default function UserInfoStep({
isPending={isLoading}
isDisabled={!canSubmit}
>
- {String(t("signup.signup"))}
+ {String(submitLabel)}
</Button>
) : (
<Button
@@ -324,7 +326,7 @@ export default function UserInfoStep({
isPending={isLoading}
isDisabled={!canSubmit}
>
- {String(t("signup.signup"))}
+ {String(submitLabel)}
</Button>
<Button
variant="outline"