Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
improvement: give more visibility to auth link and actions
Scott Wilson831380c7e0aa
diff --git a/frontend/src/components/auth/InitialSignupStep.tsx b/frontend/src/components/auth/InitialSignupStep.tsxindex 158a544bc7..2d467d9db4 100644--- a/frontend/src/components/auth/InitialSignupStep.tsx+++ b/frontend/src/components/auth/InitialSignupStep.tsx@@ -156,13 +156,6 @@ export default function InitialSignupStep({</div></>)}- <div className="mt-6 flex flex-row justify-center text-xs text-label">- <Link to="/login">- <span className="cursor-pointer duration-200 hover:text-foreground hover:underline hover:decoration-project/45 hover:underline-offset-2">- Already have an account? Log in- </span>- </Link>- </div><p className="mt-4 text-center text-xs text-pretty text-label">By signing up, you agree to our{" "}<a@@ -202,6 +195,14 @@ export default function InitialSignupStep({<CircleChevronRightIcon className="size-4.5 opacity-75" /></a></div>+ <div className="mt-4 flex flex-row items-center justify-center gap-1.5 text-sm">+ <span className="text-label">Already have an account?</span>+ <Link to="/login">+ <span className="cursor-pointer text-foreground/95 underline decoration-project/60 underline-offset-2 transition-colors duration-200 hover:decoration-project">+ Log in+ </span>+ </Link>+ </div></div>);}diff --git a/frontend/src/pages/auth/LoginPage/LoginPage.tsx b/frontend/src/pages/auth/LoginPage/LoginPage.tsxindex d6b8aab5d2..f27b98e2eb 100644--- a/frontend/src/pages/auth/LoginPage/LoginPage.tsx+++ b/frontend/src/pages/auth/LoginPage/LoginPage.tsx@@ -39,7 +39,7 @@ export const LoginPage = ({ isAdmin }: { isAdmin?: boolean }) => {<meta name="og:description" content={t("login.og-description") ?? ""} /></Helmet><AuthPageHeader>- <Button asChild>+ <Button asChild variant="project"><Link to="/signup">Sign Up</Link></Button></AuthPageHeader>diff --git a/frontend/src/pages/auth/LoginPage/components/InitialStep/InitialStep.tsx b/frontend/src/pages/auth/LoginPage/components/InitialStep/InitialStep.tsxindex c08592f4fd..7c1f77e07f 100644--- a/frontend/src/pages/auth/LoginPage/components/InitialStep/InitialStep.tsx+++ b/frontend/src/pages/auth/LoginPage/components/InitialStep/InitialStep.tsx@@ -381,32 +381,33 @@ export const InitialStep = ({ setSection, isAdmin }: Props) => {)}{!isLoading && loginError && <Error text={t("login.error-login") ?? ""} />}- {config.allowSignUp &&+ </CardContent>+ </Card>+ <div className="mt-6 flex flex-col items-center gap-3">+ {config.allowSignUp &&(shouldDisplayLoginMethod(LoginMethod.EMAIL) ||shouldDisplayLoginMethod(LoginMethod.GOOGLE) ||shouldDisplayLoginMethod(LoginMethod.GITHUB) ||- shouldDisplayLoginMethod(LoginMethod.GITLAB)) ? (- <div className="mt-6 flex flex-row justify-center text-xs text-label">+ shouldDisplayLoginMethod(LoginMethod.GITLAB)) && (+ <div className="flex flex-row items-center justify-center gap-1.5 text-sm">+ <span className="text-label">Don't have an account?</span><Link to="/signup">- <span className="cursor-pointer duration-200 hover:text-foreground hover:underline hover:decoration-project/45 hover:underline-offset-2">- Don't have an account yet? {t("login.create-account")}- </span>- </Link>- </div>- ) : (- <div className="mt-4" />- )}- {shouldDisplayLoginMethod(LoginMethod.EMAIL) && (- <div className="mt-2 flex flex-row justify-center text-xs text-label">- <Link to="/account-recovery">- <span className="cursor-pointer duration-200 hover:text-foreground hover:underline hover:decoration-project/45 hover:underline-offset-2">- Recover your account+ <span className="cursor-pointer text-foreground/95 underline decoration-project/60 underline-offset-2 transition-colors duration-200 hover:decoration-project">+ Sign up</span></Link></div>)}- </CardContent>- </Card>+ {shouldDisplayLoginMethod(LoginMethod.EMAIL) && (+ <div className="flex flex-row justify-center text-xs text-label">+ <Link to="/account-recovery">+ <span className="cursor-pointer duration-200 hover:text-foreground hover:underline hover:decoration-project/45 hover:underline-offset-2">+ Recover your account+ </span>+ </Link>+ </div>+ )}+ </div></form>);};diff --git a/frontend/src/pages/auth/SignUpPage/SignUpPage.tsx b/frontend/src/pages/auth/SignUpPage/SignUpPage.tsxindex d48b280daf..ca229f2468 100644--- a/frontend/src/pages/auth/SignUpPage/SignUpPage.tsx+++ b/frontend/src/pages/auth/SignUpPage/SignUpPage.tsx@@ -126,7 +126,7 @@ export const SignUpPage = ({ invite }: SignUpPageProps) => {<meta name="og:description" content={t("signup.og-description") as string} /></Helmet><AuthPageHeader>- <Button asChild>+ <Button asChild variant="project"><Link to="/login">Log In</Link></Button></AuthPageHeader>