From 3e8cf5778f6aaa149a45aec25e2ec6de5d6048e3 Mon Sep 17 00:00:00 2001 From: Ralph Krimmel Date: Wed, 27 Nov 2019 15:17:00 +0100 Subject: Fixing linting problems Signed-off-by: Ralph Krimmel --- lib/web/auth/saml/index.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/web/auth/saml') 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', { -- cgit v1.2.3