Fixing linting problems

Signed-off-by: Ralph Krimmel <rkrimme1@gwdg.de>
This commit is contained in:
Ralph Krimmel 2019-11-27 15:17:00 +01:00
parent 1881775379
commit 3e8cf5778f

View file

@ -77,14 +77,13 @@ passport.use(new SamlStrategy({
})
}))
samlAuth.get('/auth/saml',function(req,res,next) {
samlAuth.get('/auth/saml', function (req, res, next) {
setReturnToFromReferer(req)
passport.authenticate('saml', {
successReturnToOrRedirect: config.serverURL + '/',
failureRedirect: config.serverURL + '/'
})(req,res,next)
}
)
})(req, res, next)
})
samlAuth.post('/auth/saml/callback', urlencodedParser,
passport.authenticate('saml', {