fix: cookies HTTP, logout route prefix, header logout method
Build & Deploy / build (push) Failing after 28s
Build & Deploy / docker (push) Has been skipped

This commit is contained in:
Kevin
2026-07-07 20:35:41 +02:00
parent 75bf7c205a
commit 15d3a13d0a
8 changed files with 9 additions and 6 deletions
+1
View File
@@ -20,6 +20,7 @@ export default await Env.create(new URL('../', import.meta.url), {
// App
APP_KEY: Env.schema.secret(),
APP_URL: Env.schema.string(),
// Session
SESSION_DRIVER: Env.schema.enum(['cookie', 'memory', 'database'] as const),
+1
View File
@@ -30,6 +30,7 @@ router
.group(() => {
router.post('logout', [controllers.Session, 'destroy'])
})
.prefix('/auth')
.use(middleware.auth())
router