From 41ea58e8c3669f8960074e73d4ee5abc83b72da5 Mon Sep 17 00:00:00 2001 From: RachelElysia <71795832+RachelElysia@users.noreply.github.com> Date: Mon, 15 Aug 2022 15:59:02 -0400 Subject: [PATCH] Fleet Sandbox: Logout actually logs out of sandbox (#7213) --- changes/issue-7210-logout-of-sandbox | 1 + frontend/pages/LogoutPage/LogoutPage.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changes/issue-7210-logout-of-sandbox diff --git a/changes/issue-7210-logout-of-sandbox b/changes/issue-7210-logout-of-sandbox new file mode 100644 index 0000000000..754681d5ce --- /dev/null +++ b/changes/issue-7210-logout-of-sandbox @@ -0,0 +1 @@ +* Signout signs out of Sandbox mode diff --git a/frontend/pages/LogoutPage/LogoutPage.tsx b/frontend/pages/LogoutPage/LogoutPage.tsx index afb7e77d85..d3ac154622 100644 --- a/frontend/pages/LogoutPage/LogoutPage.tsx +++ b/frontend/pages/LogoutPage/LogoutPage.tsx @@ -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) {