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