mirror of https://github.com/status-im/codimd.git
refactor: fix lint on lib/web/auth/email/index.js
Signed-off-by: BoHong Li <raccoon@hackmd.io>
This commit is contained in:
parent
ff72618a9c
commit
7c8ade8258
|
@ -11,7 +11,7 @@ const { setReturnToFromReferer } = require('../utils')
|
||||||
const { urlencodedParser } = require('../../utils')
|
const { urlencodedParser } = require('../../utils')
|
||||||
const response = require('../../../response')
|
const response = require('../../../response')
|
||||||
|
|
||||||
let emailAuth = module.exports = Router()
|
const emailAuth = module.exports = Router()
|
||||||
|
|
||||||
passport.use(new LocalStrategy({
|
passport.use(new LocalStrategy({
|
||||||
usernameField: 'email'
|
usernameField: 'email'
|
||||||
|
|
Loading…
Reference in New Issue