diff --git a/frontend/public/locales/en/login.json b/frontend/public/locales/en/login.json index 49ef6cf2e..3aafeec4a 100644 --- a/frontend/public/locales/en/login.json +++ b/frontend/public/locales/en/login.json @@ -8,5 +8,6 @@ "forgot-password": "Forgot your password?", "error-login": "Wrong credentials.", "continue-with-google": "Continue with Google", - "continue-with-email": "Continue with Email" + "continue-with-email": "Continue with Email", + "other-option": "Log in with other option" } diff --git a/frontend/src/components/login/InitialLoginStep.tsx b/frontend/src/components/login/InitialLoginStep.tsx index 3e5ffba33..5ec56ec11 100644 --- a/frontend/src/components/login/InitialLoginStep.tsx +++ b/frontend/src/components/login/InitialLoginStep.tsx @@ -13,14 +13,14 @@ export default function InitialLoginStep({ return

Login to Infisical

-
+
-
+
-

{t('login:create-account')}

+
} diff --git a/frontend/src/components/login/PasswordInputStep.tsx b/frontend/src/components/login/PasswordInputStep.tsx index c85fe6d1d..77d9b7ae0 100644 --- a/frontend/src/components/login/PasswordInputStep.tsx +++ b/frontend/src/components/login/PasswordInputStep.tsx @@ -121,7 +121,7 @@ export default function PasswordInputStep({ type="button" className="ml-1.5 text-sm font-normal text-primary-700 underline-offset-4 duration-200 hover:text-primary" > - Login with other option + {t('login:other-option')}
diff --git a/frontend/src/components/signup/InitialSignupStep.tsx b/frontend/src/components/signup/InitialSignupStep.tsx index b859ddd46..cb15a6514 100644 --- a/frontend/src/components/signup/InitialSignupStep.tsx +++ b/frontend/src/components/signup/InitialSignupStep.tsx @@ -12,23 +12,25 @@ export default function InitialSignupStep({ return

{t('signup:initial-title')}

-
+
-
+
- {t('signup:create-policy')} + {t('signup:create-policy')} -

{t('signup:already-have-account')}

+
} diff --git a/frontend/src/components/utilities/SecurityClient.ts b/frontend/src/components/utilities/SecurityClient.ts index 6e686be3b..86cd56e41 100644 --- a/frontend/src/components/utilities/SecurityClient.ts +++ b/frontend/src/components/utilities/SecurityClient.ts @@ -11,7 +11,7 @@ export const PROVIDER_AUTH_TOKEN_KEY = 'infisical__provider-auth-token'; export default class SecurityClient { static setProviderAuthToken(tokenStr: string) { - localStorage.setItem(PROVIDER_AUTH_TOKEN_KEY, tokenStr) + localStorage.setItem(PROVIDER_AUTH_TOKEN_KEY, tokenStr || '') } static getProviderAuthToken() {