Fleet Sandbox: Logout actually logs out of sandbox (#7213)

This commit is contained in:
RachelElysia
2022-08-15 15:59:02 -04:00
committed by GitHub
parent 5371e9c927
commit 41ea58e8c3
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
* Signout signs out of Sandbox mode
+1 -1
View File
@@ -21,7 +21,7 @@ const LogoutPage = ({ router }: ILogoutPageProps) => {
clearToken();
setTimeout(() => {
window.location.href = isSandboxMode
? "https://www.fleetdm.com"
? "https://www.fleetdm.com/logout"
: "/";
}, 500);
} catch (response) {