Icons and better auth flow

This commit is contained in:
Roman Krček
2025-07-14 22:16:03 +02:00
parent ffbd3c7cda
commit 5b26b6951c
4 changed files with 2 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ const authGuard: Handle = async ({ event, resolve }) => {
}
if (!event.locals.session && event.url.pathname.startsWith('/private')) {
redirect(303, '/auth')
redirect(303, '/auth/login')
}
if (event.locals.session && event.url.pathname === '/auth') {