mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-28 17:56:37 +02:00
🐛 Fix redirectTo value when session is invalid
This commit is contained in:
parent
5f76285f10
commit
e159fe2178
1 changed files with 1 additions and 1 deletions
|
@ -2,6 +2,6 @@ import { signOut } from "@/next-auth";
|
|||
|
||||
export async function GET() {
|
||||
return await signOut({
|
||||
redirectTo: "/login",
|
||||
redirectTo: "/",
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue