fix(web): don't ask password for invalid shared link (#7456)

* fix(web): don't ask password for invalid shared link

* use apiUtils for e2e test
This commit is contained in:
Michel Heusschen
2024-02-27 16:25:57 +01:00
committed by GitHub
parent fb18129843
commit 21feb69083
3 changed files with 34 additions and 20 deletions
@@ -1,7 +1,14 @@
<script lang="ts">
import { page } from '$app/stores';
</script>
<svelte:head>
<title>Opps! Error - Immich</title>
</svelte:head>
<section class="flex h-screen w-screen place-content-center place-items-center">
<div class="p-20 text-4xl text-immich-primary dark:text-immich-dark-primary">Page not found :/</div>
<section class="flex flex-col px-4 h-screen w-screen place-content-center place-items-center">
<h1 class="py-10 text-4xl text-immich-primary dark:text-immich-dark-primary">Page not found :/</h1>
{#if $page.error?.message}
<h2 class="text-xl text-immich-fg dark:text-immich-dark-fg">{$page.error.message}</h2>
{/if}
</section>