-
-
Notifications
You must be signed in to change notification settings - Fork 69
Closed
Labels
Description
I think it would make sense if this check:
cli/packages/addons/lucia/index.ts
Lines 539 to 544 in d1f4432
| export const load${ts(': PageServerLoad')} = async (event) => { | |
| if (!event.locals.user) { | |
| return redirect(302, '/demo/lucia/login'); | |
| } | |
| return { user: event.locals.user }; | |
| }; |
was rewritten into a shared function using the new
getRequestEvent