If no appstore account is setup restrict features to free plan

This commit is contained in:
Johannes Zellner
2020-06-18 14:34:22 +02:00
parent 1b4ec9ecf9
commit ae128c0fa4
+6 -8
View File
@@ -52,14 +52,12 @@ const NOOP_CALLBACK = function (error) { if (error) debug(error); };
// These are the default options and will be adjusted once a subscription state is obtained
// Keep in sync with appstore/routes/cloudrons.js
let gFeatures = {
userMaxCount: null,
externalLdap: true,
eventLog: true,
privateDockerRegistry: true,
branding: true,
userManager: true,
multiAdmin: true,
support: true
userMaxCount: 5,
domainMaxCount: 1,
externalLdap: false,
privateDockerRegistry: false,
branding: false,
support: false
};
// attempt to load feature cache in case appstore would be down