Removed extensions from Settings > Configuration editor

This commit is contained in:
Jesús Ángel 2019-03-19 17:31:53 +01:00
parent 16cdf17d96
commit d590891245

View File

@ -75,7 +75,14 @@ export class SettingsController {
// Tab names
this.tabNames = TabNames;
this.configuration = wazuhConfig.getConfig();
for (const key in this.configuration) {
if (key.includes('extension')) {
delete this.configuration[key];
}
}
this.configurationTypes = [];
for (const key in this.configuration) {
this.configurationTypes[key] = typeof this.configuration[key];