Fixing linting problems
Signed-off-by: Ralph Krimmel <rkrimme1@gwdg.de>
This commit is contained in:
parent
1881775379
commit
3e8cf5778f
@ -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)
|
setReturnToFromReferer(req)
|
||||||
passport.authenticate('saml', {
|
passport.authenticate('saml', {
|
||||||
successReturnToOrRedirect: config.serverURL + '/',
|
successReturnToOrRedirect: config.serverURL + '/',
|
||||||
failureRedirect: config.serverURL + '/'
|
failureRedirect: config.serverURL + '/'
|
||||||
})(req,res,next)
|
})(req, res, next)
|
||||||
}
|
})
|
||||||
)
|
|
||||||
|
|
||||||
samlAuth.post('/auth/saml/callback', urlencodedParser,
|
samlAuth.post('/auth/saml/callback', urlencodedParser,
|
||||||
passport.authenticate('saml', {
|
passport.authenticate('saml', {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user