lint: lib/auth/ldap.index.ts

remove unused vars

Signed-off-by: Raccoon <raccoon@hackmd.io>
This commit is contained in:
Raccoon 2021-06-13 15:08:03 +08:00
parent adc0a62acd
commit 8f0337af7d
No known key found for this signature in database
GPG Key ID: 06770355DC9ECD38

View File

@ -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) {