Redirect to home page on sign out instead of login page
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
173623a432
commit
54a45146ed
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ export function UserMenu() {
|
|||
|
||||
<DropdownMenuItem
|
||||
className="flex items-center gap-2 text-destructive focus:text-destructive cursor-pointer"
|
||||
onSelect={() => signOut({ callbackUrl: '/login' })}
|
||||
onSelect={() => signOut({ callbackUrl: '/' })}
|
||||
>
|
||||
<LogOut className="w-4 h-4" />
|
||||
Sign Out
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue