Skip to content

Commit

Permalink
Merge pull request #306 from masslight/aykhan/fix-logout
Browse files Browse the repository at this point in the history
Logout url fix
  • Loading branch information
AykhanAhmadli authored Aug 7, 2024
2 parents 1b6923b + fa5a780 commit c52e634
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ export const CustomContainer: FC<ContainerProps> = ({
if (logoutHandler !== undefined) {
logoutHandler();
} else {
logout({ returnTo: 'https://telemed.ottehr.com/location/ak/in-person/prebook' });
logout({
returnTo: window.location.origin,
});
}
}, [logout, logoutHandler]);

Expand Down

0 comments on commit c52e634

Please sign in to comment.