Enable some user commands for LDAP

Fixes #3221
This commit is contained in:
Pavel Djundik 2019-11-01 13:37:32 +02:00
parent ddebb22afe
commit e58a895293
2 changed files with 6 additions and 3 deletions

View file

@ -43,7 +43,7 @@ Helper.mergeConfig(Helper.config, program.config);
require("./start");
if (!Helper.config.public && !Helper.config.ldap.enable) {
if (!Helper.config.public) {
require("./users");
}

View file

@ -1,7 +1,10 @@
"use strict";
if (!require("../../helper").config.ldap.enable) {
require("./add");
require("./reset");
}
require("./list");
require("./add");
require("./remove");
require("./reset");
require("./edit");