mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-14 08:41:15 +10:00
feat(acls): added backend acls
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
import sessionHandler from "../internal/session";
|
||||
|
||||
export default defineEventHandler(async (h3) => {
|
||||
await h3.context.session.clearSession(h3);
|
||||
await sessionHandler.clearSession(h3);
|
||||
|
||||
return sendRedirect(h3, "/signin");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user