mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 15:14:56 -04:00
Fixing linting problems
Signed-off-by: Ralph Krimmel <rkrimme1@gwdg.de>
This commit is contained in:
parent
1881775379
commit
3e8cf5778f
1 changed files with 3 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue