From bc71b7b31b1550ffd59322dca901a5942211ef9a Mon Sep 17 00:00:00 2001 From: BoHong Li Date: Fri, 2 Aug 2019 00:59:56 +0800 Subject: [PATCH] refactor: fix lint on lib/web/auth/saml/index.js Signed-off-by: BoHong Li --- lib/web/auth/saml/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/web/auth/saml/index.js b/lib/web/auth/saml/index.js index 9d65339f..575e2e47 100644 --- a/lib/web/auth/saml/index.js +++ b/lib/web/auth/saml/index.js @@ -10,7 +10,7 @@ const { urlencodedParser } = require('../../utils') const fs = require('fs') const intersection = function (array1, array2) { return array1.filter((n) => array2.includes(n)) } -let samlAuth = module.exports = Router() +const samlAuth = module.exports = Router() passport.use(new SamlStrategy({ callbackUrl: config.serverURL + '/auth/saml/callback',