Merge pull request #3489 from thelounge/xpaw/fix-3221

Enable some user commands for LDAP
This commit is contained in:
Pavel Djundik 2019-11-11 12:01:48 +02:00 committed by GitHub
commit 1410256e42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View File

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

View File

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