mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Enable the external auth switches when OL OAuth in use
This commit is contained in:
parent
b6289f03e3
commit
ca0982a909
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ module.exports = (app, webRouter, privateApiRouter, publicApiRouter)->
|
||||||
|
|
||||||
webRouter.use (req, res, next)->
|
webRouter.use (req, res, next)->
|
||||||
req.externalAuthenticationSystemUsed = res.locals.externalAuthenticationSystemUsed = ->
|
req.externalAuthenticationSystemUsed = res.locals.externalAuthenticationSystemUsed = ->
|
||||||
Settings.ldap? or Settings.saml?
|
Settings.ldap? or Settings.saml? or Settings.overleaf?.oauth?
|
||||||
next()
|
next()
|
||||||
|
|
||||||
webRouter.use (req, res, next)->
|
webRouter.use (req, res, next)->
|
||||||
|
|
Loading…
Reference in a new issue