From 87a675d02b998a4bae1106a37e4ad087fccd99ea Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Tue, 27 Jun 2023 19:51:37 -0400 Subject: [PATCH] fix: Add /logout route to those that cannot be redirected after login --- app/stores/AuthStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/stores/AuthStore.ts b/app/stores/AuthStore.ts index 0182e4fae..c419b5668 100644 --- a/app/stores/AuthStore.ts +++ b/app/stores/AuthStore.ts @@ -14,7 +14,7 @@ import { client } from "~/utils/ApiClient"; import Desktop from "~/utils/Desktop"; const AUTH_STORE = "AUTH_STORE"; -const NO_REDIRECT_PATHS = ["/", "/create", "/home"]; +const NO_REDIRECT_PATHS = ["/", "/create", "/home", "/logout"]; type PersistedData = { user?: User;