fix(clock): remove auth redirect from dashboard for guest mode

Remove the login redirect from the main dashboard page to allow
guest users to access the Clock app without authentication.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2026-01-25 03:00:40 +01:00
parent 6713919e09
commit 1e7bfd44ec

View file

@ -8,10 +8,7 @@
let isLoading = $state(true); let isLoading = $state(true);
onMount(async () => { onMount(async () => {
if (!authStore.isAuthenticated) { // No auth redirect - guest mode allowed
goto('/login');
return;
}
isLoading = false; isLoading = false;
}); });