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