diff --git a/frontend/src/routes/(auth)/login/+page.server.ts b/frontend/src/routes/(auth)/login/+page.server.ts index 4b53936..60ba347 100644 --- a/frontend/src/routes/(auth)/login/+page.server.ts +++ b/frontend/src/routes/(auth)/login/+page.server.ts @@ -48,6 +48,8 @@ export const actions: Actions = { secure: env.APP_ENV === 'prod', }) + await lucia.deleteExpiredSessions() + return { form, }