Replace auth.js script with config expression
This commit is contained in:
1 parent
6c6d88e88b
commit
2c9e7e8e29
8 files changed
+283
-237
No files matched your search
@@ -235,11 +235,3 @@ export function getDefault(optionName): string | number | boolean {
|
||||
|
||||
return val;
|
||||
}
|
||||
|
||||
export let auth;
|
||||
// Load authentication scripts
|
||||
try {
|
||||
auth = require(resolve(allConfig.CONFIG_DIR as string, "auth.js"));
|
||||
} catch (error) {
|
||||
// No auth.js exists
|
||||
}
|
||||
Reference in new issue
Block a user