fix: sub for root
This commit is contained in:
parent
a6d5f3038c
commit
adaca4d4e3
@ -47,6 +47,9 @@ function getEndDate()
|
|||||||
|
|
||||||
function isSubscriptionActive()
|
function isSubscriptionActive()
|
||||||
{
|
{
|
||||||
|
if (auth()->user()->isAdminFromSession()) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
if (!isCloud()) {
|
if (!isCloud()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user