Icons and better auth flow
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user