mirror of https://github.com/status-im/codimd.git
refactor: fix lint on lib/web/auth/openid/index.js
Signed-off-by: BoHong Li <raccoon@hackmd.io>
This commit is contained in:
parent
d5f5bdaa57
commit
a9bcf055e7
|
@ -9,7 +9,7 @@ const logger = require('../../../logger')
|
||||||
const { urlencodedParser } = require('../../utils')
|
const { urlencodedParser } = require('../../utils')
|
||||||
const { setReturnToFromReferer } = require('../utils')
|
const { setReturnToFromReferer } = require('../utils')
|
||||||
|
|
||||||
let openIDAuth = module.exports = Router()
|
const openIDAuth = module.exports = Router()
|
||||||
|
|
||||||
passport.use(new OpenIDStrategy({
|
passport.use(new OpenIDStrategy({
|
||||||
returnURL: config.serverURL + '/auth/openid/callback',
|
returnURL: config.serverURL + '/auth/openid/callback',
|
||||||
|
|
Loading…
Reference in New Issue