From 7c8ade8258debaefd53c78dcc5efc24da20a5918 Mon Sep 17 00:00:00 2001 From: BoHong Li Date: Fri, 2 Aug 2019 00:58:29 +0800 Subject: [PATCH] refactor: fix lint on lib/web/auth/email/index.js Signed-off-by: BoHong Li --- lib/web/auth/email/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/web/auth/email/index.js b/lib/web/auth/email/index.js index 7c812d69..ce26931a 100644 --- a/lib/web/auth/email/index.js +++ b/lib/web/auth/email/index.js @@ -11,7 +11,7 @@ const { setReturnToFromReferer } = require('../utils') const { urlencodedParser } = require('../../utils') const response = require('../../../response') -let emailAuth = module.exports = Router() +const emailAuth = module.exports = Router() passport.use(new LocalStrategy({ usernameField: 'email'