mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-12 19:05:14 +00:00
fix: hide alternative sign in button if user is already authenticated
This commit is contained in:
@@ -84,7 +84,7 @@
|
|||||||
{#if client == null}
|
{#if client == null}
|
||||||
<p>{m.client_not_found()}</p>
|
<p>{m.client_not_found()}</p>
|
||||||
{:else}
|
{:else}
|
||||||
<SignInWrapper animate={!$appConfigStore.disableAnimations} showAlternativeSignInMethodButton>
|
<SignInWrapper animate={!$appConfigStore.disableAnimations} showAlternativeSignInMethodButton={$userStore == null}>
|
||||||
<ClientProviderImages {client} {success} error={!!errorMessage} />
|
<ClientProviderImages {client} {success} error={!!errorMessage} />
|
||||||
<h1 class="font-playfair mt-5 text-3xl font-bold sm:text-4xl">
|
<h1 class="font-playfair mt-5 text-3xl font-bold sm:text-4xl">
|
||||||
{m.sign_in_to({ name: client.name })}
|
{m.sign_in_to({ name: client.name })}
|
||||||
|
|||||||
Reference in New Issue
Block a user