mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
fix: sub for root
This commit is contained in:
1 parent
a6d5f3038c
commit
adaca4d4e3
1 file changed
+3
@@ -47,6 +47,9 @@ function getEndDate()
|
||||
|
||||
function isSubscriptionActive()
|
||||
{
|
||||
if (auth()->user()->isAdminFromSession()) {
|
||||
return true;
|
||||
}
|
||||
if (!isCloud()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user