1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-11 05:59:15 +00:00

fix: show correct app name on sign out page

This commit is contained in:
Elias Schneider
2025-05-23 12:42:57 +02:00
parent 6c35570e78
commit 131f470757
13 changed files with 17 additions and 16 deletions

View File

@@ -37,11 +37,12 @@
<p class="text-muted-foreground mt-2">
{@html m.do_you_want_to_sign_out_of_pocketid_with_the_account({
username: $userStore?.username ?? ''
username: $userStore?.username ?? '',
appName: $appConfigStore.appName
})}
</p>
<div class="mt-10 flex w-full justify-stretch gap-2">
<Button class="w-full" variant="secondary" onclick={() => history.back()}>{m.cancel()}</Button>
<Button class="w-full" {isLoading} onclick={signOut}>{m.sign_out()}</Button>
<Button class="flex-1" variant="secondary" onclick={() => history.back()}>{m.cancel()}</Button>
<Button class="flex-1" {isLoading} onclick={signOut}>{m.sign_out()}</Button>
</div>
</SignInWrapper>