mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Allow EXTERNAL_AUTH to be undefined, fixes #26
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
let ldapModule = {}
|
||||
if (process.env.EXTERNAL_AUTH.includes('ldap')) {
|
||||
if (process.env.EXTERNAL_AUTH?.includes('ldap')) {
|
||||
const { default: LDAPModuleManager } = await import('./app/src/LDAPModuleManager.mjs')
|
||||
const { default: router } = await import('./app/src/LDAPRouter.mjs')
|
||||
LDAPModuleManager.initSettings()
|
||||
|
||||
Reference in New Issue
Block a user