Skip to content

Commit

Permalink
fix logout
Browse files Browse the repository at this point in the history
  • Loading branch information
megamingus committed Apr 9, 2024
1 parent d3ab83c commit c3b9c21
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/features/main-menu/user-profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ export const UserProfile = () => {
<DropdownMenuSeparator />
<DropdownMenuItem
className="flex gap-2"
onClick={() => signOut({ callbackUrl: "/" })}
onClick={() =>
signOut({
callbackUrl: "https://login.microsoftonline.com/logout.srf",
})
}
>
<LogOut {...menuIconProps} size={18} />
<span>Log out</span>
Expand Down

0 comments on commit c3b9c21

Please sign in to comment.