This commit is contained in:
Andras Bacsai
2023-08-24 17:41:11 +02:00
parent 6f14e127a3
commit 9ef3218bb5
5 changed files with 20 additions and 14 deletions

View File

@@ -104,7 +104,7 @@ function getStripeCustomerPortalSession(Team $team)
]);
return $session;
}
function allowedPaths()
function allowedPathsForUnsubscribedAccounts()
{
return [
'subscription',
@@ -113,11 +113,17 @@ function allowedPaths()
'waitlist',
'force-password-reset',
'logout',
'boarding',
'livewire/message/boarding',
'livewire/message/force-password-reset',
'livewire/message/check-license',
'livewire/message/switch-team',
'livewire/message/subscription.pricing-plans'
];
}
function allowedPathsForBoardingAccounts()
{
return [
...allowedPathsForUnsubscribedAccounts(),
'boarding',
'livewire/message/boarding',
];
}