mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-24 08:53:04 +10:00
fix: signout route
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import sessionHandler from "../../internal/session";
|
||||
|
||||
export default defineEventHandler(async (h3) => {
|
||||
await sessionHandler.signout(h3);
|
||||
|
||||
return sendRedirect(h3, "/auth/signin");
|
||||
});
|
||||
Reference in New Issue
Block a user