Skip to content

Commit

Permalink
fix: Pass custom callbackUrl to make use of the logic from redirect c…
Browse files Browse the repository at this point in the history
…allback
  • Loading branch information
bprusinowski committed Sep 9, 2024
1 parent 7d88ffa commit 3bd000c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/login/components/login-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ export const LoginMenu = () => {
id: "login.sign-out",
message: "Sign out",
})}
onClick={async () => await signOut()}
onClick={async () =>
await signOut({ callbackUrl: "/api/auth/signout" })
}
/>
</ArrowMenuTopCenter>
</>
Expand Down

0 comments on commit 3bd000c

Please sign in to comment.