Merge pull request #3489 from thelounge/xpaw/fix-3221
Enable some user commands for LDAP
This commit is contained in:
commit
1410256e42
@ -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");
|
||||
}
|
||||
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user