fixed auth problem in the web
This commit is contained in:
@@ -13,7 +13,7 @@ export function LoginButton({ session }: { session: any }) {
|
||||
<form
|
||||
action={async () => {
|
||||
"use server"
|
||||
await signOut()
|
||||
await signOut({ redirectTo: "/" })
|
||||
}}
|
||||
>
|
||||
<Button type="submit" size={'lg'} className="hover:cursor-pointer text-white px-6 py-2 bg-red-500/20 hover:bg-red-500/40 border border-red-500 rounded-full font-semibold transition-all hover:scale-105">
|
||||
|
||||
Reference in New Issue
Block a user