mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
Allow signout in forceUpgrade
state
This commit is contained in:
parent
fbaf172c05
commit
69ea3ae14f
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user