polish #15

Merged
a.antonov merged 67 commits from polish into master 2026-08-03 06:53:02 +00:00
Showing only changes of commit ac4af66cd5 - Show all commits

View file

@ -32,11 +32,16 @@
user = await whoami();
} else {
user = null;
if ($page.url.pathname !== '/')
goto('/login'); // Redirect to login if not authenticated
}
} catch (error) {
console.error('Authentication check failed:', error);
isAuthenticated = false;
user = null;
if ($page.url.pathname !== '/')
goto('/login'); // Redirect to login if not authenticated
}
});