Explorar o código

Count saml as an external authentication system.

Shane Kilkelly %!s(int64=10) %!d(string=hai) anos
pai
achega
6c381b127c

+ 1 - 1
services/web/app/coffee/infrastructure/ExpressLocals.coffee

@@ -210,7 +210,7 @@ module.exports = (app, webRouter, apiRouter)->
 
 
 	webRouter.use (req, res, next)->
 	webRouter.use (req, res, next)->
 		res.locals.externalAuthenticationSystemUsed = ->
 		res.locals.externalAuthenticationSystemUsed = ->
-			Settings.ldap?
+			Settings.ldap? or Settings.saml?
 		next()
 		next()
 
 
 	webRouter.use (req, res, next)->
 	webRouter.use (req, res, next)->