mirror of
https://github.com/status-im/codimd.git
synced 2025-01-26 04:48:49 +00:00
lint: lib/auth/openid/index.ts
unused vars Signed-off-by: Raccoon <raccoon@hackmd.io>
This commit is contained in:
parent
8f0337af7d
commit
08fb6855f9
@ -24,7 +24,7 @@ passport.use(new OpenIDStrategy({
|
|||||||
defaults: {
|
defaults: {
|
||||||
profile: stringifiedProfile
|
profile: stringifiedProfile
|
||||||
}
|
}
|
||||||
}).spread(function (user, created) {
|
}).spread(function (user) {
|
||||||
if (user) {
|
if (user) {
|
||||||
let needSave = false
|
let needSave = false
|
||||||
if (user.profile !== stringifiedProfile) {
|
if (user.profile !== stringifiedProfile) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user