mirror of
https://github.com/nikdoof/pocket-id.git
synced 2025-12-13 23:02:17 +00:00
fix: improve text for initial admin account setup
This commit is contained in:
@@ -33,11 +33,19 @@
|
|||||||
<Logo class="h-10 w-10" />
|
<Logo class="h-10 w-10" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h1 class="font-playfair mt-5 text-4xl font-bold">One Time Access</h1>
|
<h1 class="font-playfair mt-5 text-4xl font-bold">
|
||||||
|
{data.token === 'setup' ? `${$appConfigStore.appName} Setup` : 'One Time Access'}
|
||||||
|
</h1>
|
||||||
<p class="text-muted-foreground mt-2">
|
<p class="text-muted-foreground mt-2">
|
||||||
You've been granted one-time access to your {$appConfigStore.appName} account. Please note that if
|
{#if data.token === 'setup'}
|
||||||
you continue, this link will become invalid. To avoid this, make sure to add a passkey. Otherwise,
|
You're about to sign in to the initial admin account. Anyone with this link can access the
|
||||||
you'll need to request a new link.
|
account until a passkey is added. Please set up a passkey as soon as possible to prevent
|
||||||
|
unauthorized access.
|
||||||
|
{:else}
|
||||||
|
You've been granted one-time access to your {$appConfigStore.appName} account. Please note that
|
||||||
|
if you continue, this link will become invalid. To avoid this, make sure to add a passkey. Otherwise,
|
||||||
|
you'll need to request a new link.
|
||||||
|
{/if}
|
||||||
</p>
|
</p>
|
||||||
<Button class="mt-5" {isLoading} on:click={authenticate}>Continue</Button>
|
<Button class="mt-5" {isLoading} on:click={authenticate}>Continue</Button>
|
||||||
</SignInWrapper>
|
</SignInWrapper>
|
||||||
|
|||||||
Reference in New Issue
Block a user