Skip to content

High performance self-hosted photo and video management solution.

chore: back button in pin verification form (#18378)

Alex59f666b115db
diff --git a/web/src/routes/auth/pin-prompt/+page.svelte b/web/src/routes/auth/pin-prompt/+page.svelte
index ffed9d5de0..6c541aaef0 100644
--- a/web/src/routes/auth/pin-prompt/+page.svelte
+++ b/web/src/routes/auth/pin-prompt/+page.svelte
@@ -3,9 +3,10 @@
import AuthPageLayout from '$lib/components/layouts/AuthPageLayout.svelte';
import PinCodeCreateForm from '$lib/components/user-settings-page/PinCodeCreateForm.svelte';
import PincodeInput from '$lib/components/user-settings-page/PinCodeInput.svelte';
+ import { AppRoute } from '$lib/constants';
import { handleError } from '$lib/utils/handle-error';
import { unlockAuthSession } from '@immich/sdk';
- import { Icon } from '@immich/ui';
+ import { Button, Icon } from '@immich/ui';
import { mdiLockOpenVariantOutline, mdiLockOutline, mdiLockSmart } from '@mdi/js';
import { t } from 'svelte-i18n';
import { fade } from 'svelte/transition';
@@ -63,6 +64,8 @@
pinLength={6}
onFilled={handleUnlockSession}
/>
+
+ <Button type="button" color="secondary" onclick={() => goto(AppRoute.PHOTOS)}>Back</Button>
</div>
</div>
{:else}