hardlounge/server/command-line/users/index.ts

16 lines
422 B
TypeScript
Raw Normal View History

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];