From 69ea3ae14fba2cca826f4c40d2e4ed8914029560 Mon Sep 17 00:00:00 2001 From: Aileen Nowak Date: Thu, 28 Oct 2021 10:50:00 +0200 Subject: [PATCH] Allow signout in `forceUpgrade` state --- ghost/admin/app/utils/route.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/admin/app/utils/route.js b/ghost/admin/app/utils/route.js index c2eaae77d5..5d769a7389 100644 --- a/ghost/admin/app/utils/route.js +++ b/ghost/admin/app/utils/route.js @@ -12,7 +12,7 @@ Route.reopen({ transition.abort(); this.upgradeStatus.requireUpgrade(); return false; - } else if (this.config.get('hostSettings.forceUpgrade')) { + } else if (this.config.get('hostSettings.forceUpgrade') && transition.to?.name !== 'signout') { transition.abort(); // Catch and redirect every route in a force upgrade state this.billing.openBillingWindow(this.router.currentURL, '/pro');