mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 22:10:22 +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");
|
||||
|
||||
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 a new issue