summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Krimmel2019-11-27 15:17:00 +0100
committerRalph Krimmel2019-11-27 15:17:00 +0100
commit3e8cf5778f6aaa149a45aec25e2ec6de5d6048e3 (patch)
treee226ce1632a1db722c9269ea34108d94213d8eb4
parent1881775379d9d1a358d1dc9762524723cc005673 (diff)
Fixing linting problems
Signed-off-by: Ralph Krimmel <rkrimme1@gwdg.de>
Diffstat (limited to '')
-rw-r--r--lib/web/auth/saml/index.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/web/auth/saml/index.js b/lib/web/auth/saml/index.js
index 1c80c934..dd274814 100644
--- a/lib/web/auth/saml/index.js
+++ b/lib/web/auth/saml/index.js
@@ -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', {