mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 23:21:08 +02:00
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:
parent
6713919e09
commit
1e7bfd44ec
1 changed files with 1 additions and 4 deletions
|
|
@ -8,10 +8,7 @@
|
|||
let isLoading = $state(true);
|
||||
|
||||
onMount(async () => {
|
||||
if (!authStore.isAuthenticated) {
|
||||
goto('/login');
|
||||
return;
|
||||
}
|
||||
// No auth redirect - guest mode allowed
|
||||
isLoading = false;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue