Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: sub for root

Andras Bacsaiadaca4d4e39e
diff --git a/bootstrap/helpers/subscriptions.php b/bootstrap/helpers/subscriptions.php
index ae35067824..7eda740516 100644
--- a/bootstrap/helpers/subscriptions.php
+++ b/bootstrap/helpers/subscriptions.php
@@ -47,6 +47,9 @@ function getEndDate()
function isSubscriptionActive()
{
+ if (auth()->user()->isAdminFromSession()) {
+ return true;
+ }
if (!isCloud()) {
return false;
}