mirror of
https://github.com/thelounge/thelounge
synced 2024-11-15 00:37:13 +00:00
dd05ee3a65
Co-authored-by: Eric Nemchik <eric@nemchik.com> Co-authored-by: Pavel Djundik <xPaw@users.noreply.github.com>
15 lines
422 B
TypeScript
15 lines
422 B
TypeScript
import Config from "../../config";
|
|
let add, reset;
|
|
|
|
if (!Config.values.ldap.enable) {
|
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
add = require("./add").default;
|
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
reset = require("./reset").default;
|
|
}
|
|
|
|
import list from "./list";
|
|
import remove from "./remove";
|
|
import edit from "./edit";
|
|
|
|
export default [list, remove, edit, add, reset];
|