mirror of
https://github.com/status-im/codimd.git
synced 2025-01-12 01:44:15 +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: {
|
||||
profile: stringifiedProfile
|
||||
}
|
||||
}).spread(function (user, created) {
|
||||
}).spread(function (user) {
|
||||
if (user) {
|
||||
let needSave = false
|
||||
if (user.profile !== stringifiedProfile) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user