🐛 Fix redirectTo value when session is invalid

This commit is contained in:
Luke Vella 2025-04-15 17:57:06 +01:00
parent 5f76285f10
commit e159fe2178
No known key found for this signature in database
GPG key ID: 469CAD687F0D784C

View file

@ -2,6 +2,6 @@ import { signOut } from "@/next-auth";
export async function GET() {
return await signOut({
redirectTo: "/login",
redirectTo: "/",
});
}