summaryrefslogtreecommitdiff
path: root/lib/web/auth/openid/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/web/auth/openid/index.js')
-rw-r--r--lib/web/auth/openid/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/web/auth/openid/index.js b/lib/web/auth/openid/index.js
index 8d271a7a..b0a28bec 100644
--- a/lib/web/auth/openid/index.js
+++ b/lib/web/auth/openid/index.js
@@ -33,11 +33,11 @@ passport.use(new OpenIDStrategy({
}
if (needSave) {
user.save().then(function () {
- if (config.debug) { logger.info('user login: ' + user.id) }
+ logger.debug(`user login: ${user.id}`)
return done(null, user)
})
} else {
- if (config.debug) { logger.info('user login: ' + user.id) }
+ logger.debug(`user login: ${user.id}`)
return done(null, user)
}
}