+ {#if showNavigationLoadingBar}
+
+ {/if}
+
diff --git a/web/src/routes/auth/login/+page.svelte b/web/src/routes/auth/login/+page.svelte
index 27287db12f..aff854ff19 100644
--- a/web/src/routes/auth/login/+page.svelte
+++ b/web/src/routes/auth/login/+page.svelte
@@ -3,10 +3,6 @@
import { fade } from 'svelte/transition';
import LoginForm from '$lib/components/forms/login-form.svelte';
-
- const onLoginSuccess = () => {
- goto('/photos');
- };
@@ -15,6 +11,9 @@
- goto('/auth/change-password')} />
+ goto('/photos')}
+ on:first-login={() => goto('/auth/change-password')}
+ />