diff --git a/frontend/messages/en.json b/frontend/messages/en.json index f4a8d2df..761cd357 100644 --- a/frontend/messages/en.json +++ b/frontend/messages/en.json @@ -75,6 +75,7 @@ "use_your_passkey_instead": "Use your passkey instead?", "email_login": "Email Login", "enter_a_login_code_to_sign_in": "Enter a login code to sign in.", + "sign_in_with_login_code": "Sign in with login code", "request_a_login_code_via_email": "Request a login code via email.", "go_back": "Go back", "an_email_has_been_sent_to_the_provided_email_if_it_exists_in_the_system": "An email has been sent to the provided email, if it exists in the system.", diff --git a/frontend/src/lib/components/login-wrapper.svelte b/frontend/src/lib/components/login-wrapper.svelte index b0b2c339..c3c28177 100644 --- a/frontend/src/lib/components/login-wrapper.svelte +++ b/frontend/src/lib/components/login-wrapper.svelte @@ -1,6 +1,7 @@ {#if isDesktop.current} @@ -38,14 +57,10 @@ style={animate ? 'animation-delay: 500ms;' : ''} > - {m.alternative_sign_in_methods()} + {alternativeSignInButton.label} {/if} @@ -75,14 +90,10 @@ {@render children()} {#if showAlternativeSignInMethodButton} - {m.alternative_sign_in_methods()} + {alternativeSignInButton.label} {/if} diff --git a/frontend/src/routes/login/alternative/code/+page.svelte b/frontend/src/routes/login/alternative/code/+page.svelte index c0ba5c29..38a4277c 100644 --- a/frontend/src/routes/login/alternative/code/+page.svelte +++ b/frontend/src/routes/login/alternative/code/+page.svelte @@ -6,6 +6,7 @@ import Input from '$lib/components/ui/input/input.svelte'; import { m } from '$lib/paraglide/messages'; import UserService from '$lib/services/user-service'; + import appConfigStore from '$lib/stores/application-configuration-store'; import userStore from '$lib/stores/user-store.js'; import { getAxiosErrorMessage } from '$lib/utils/error-util'; import { preventDefault } from '$lib/utils/event-util'; @@ -63,8 +64,12 @@