work
Some checks failed
Build and Push Container Image / build-and-push (push) Failing after 3m49s

This commit is contained in:
2026-05-19 12:00:00 +02:00
parent 6bd3b76782
commit 8e02f673ca
33 changed files with 2992 additions and 12 deletions

View File

@@ -5,7 +5,7 @@ import { auth } from '$lib/server/auth';
export const load: PageServerLoad = (event) => {
if (!event.locals.user) {
return redirect(302, '/auth/login');
throw redirect(302, '/auth/login');
}
return { user: event.locals.user };
};
@@ -15,6 +15,6 @@ export const actions: Actions = {
await auth.api.signOut({
headers: event.request.headers
});
return redirect(302, '/auth/login');
throw redirect(302, '/auth/login');
}
};