mirror of
https://github.com/thelounge/thelounge
synced 2024-11-30 07:50:34 +00:00
parent
ddebb22afe
commit
e58a895293
2 changed files with 6 additions and 3 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue