dd05ee3a65
Co-authored-by: Eric Nemchik <eric@nemchik.com> Co-authored-by: Pavel Djundik <xPaw@users.noreply.github.com>
16 lines
422 B
TypeScript
16 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];
|