This commit is contained in:
2026-03-12 13:49:02 +00:00
parent e7414c75dd
commit 109939f6db
15 changed files with 56 additions and 35 deletions
+4 -1
View File
@@ -12,7 +12,10 @@ export default function LogoutPage() {
}
export const getServerSideProps: GetServerSideProps = async (ctx) => {
await logoutUser({ res: ctx.res });
await logoutUser({
res: ctx.res,
req: ctx.req,
});
return {
redirect: {