summaryrefslogtreecommitdiff
path: root/lib/web/auth/email
diff options
context:
space:
mode:
Diffstat (limited to 'lib/web/auth/email')
-rw-r--r--lib/web/auth/email/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/web/auth/email/index.js b/lib/web/auth/email/index.js
index 78ca933b..74922966 100644
--- a/lib/web/auth/email/index.js
+++ b/lib/web/auth/email/index.js
@@ -10,7 +10,7 @@ const logger = require('../../../logger')
const { urlencodedParser } = require('../../utils')
const errors = require('../../../errors')
-let emailAuth = module.exports = Router()
+const emailAuth = module.exports = Router()
passport.use(new LocalStrategy({
usernameField: 'email'