mirror of
https://github.com/status-im/codimd.git
synced 2025-01-12 05:14:27 +00:00
lint: lib/auth/ldap.index.ts
remove unused vars Signed-off-by: Raccoon <raccoon@hackmd.io>
This commit is contained in:
parent
adc0a62acd
commit
8f0337af7d
@ -57,7 +57,7 @@ passport.use(new LDAPStrategy({
|
||||
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