generated from pascalmartineau/wp-skeleton
feat: Initial Nuxt app
This commit is contained in:
6
wp-content/themes/ccat/server/api/logout.post.ts
Normal file
6
wp-content/themes/ccat/server/api/logout.post.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { defineEventHandler } from "h3";
|
||||
|
||||
export default defineEventHandler(async (event) => {
|
||||
await clearUserSession(event);
|
||||
return { success: true };
|
||||
});
|
||||
Reference in New Issue
Block a user