Add commented test block for features

This commit is contained in:
Johannes Zellner
2020-02-14 20:44:27 +01:00
parent 732b1ae0de
commit 016e2b375d

View File

@@ -344,6 +344,13 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
this._config.apiServerOrigin = '<%= appstore.apiOrigin %>';
<% } -%>
// => This is just for easier testing
// this._config.features.userMaxCount = 3;
// this._config.features.externalLdap = false;
// this._config.features.eventLog = false;
// this._config.features.privateDockerRegistry = false;
// this._config.features.branding = false;
this._configListener.forEach(function (callback) {
callback(that._config);
});