Complete sermon management system with Nuxt 4, authentication, SQLite database, QR codes, and Docker deployment
This commit is contained in:
6
server/api/auth/logout.post.ts
Normal file
6
server/api/auth/logout.post.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export default defineEventHandler(async (event) => {
|
||||
// Clear the auth cookie
|
||||
deleteCookie(event, 'auth_token')
|
||||
|
||||
return { success: true }
|
||||
})
|
||||
Reference in New Issue
Block a user