Add commented test block for features
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user