Do not dump the entire token

This commit is contained in:
Girish Ramakrishnan
2018-06-15 14:56:52 -07:00
parent c210359046
commit 2e92172794
+1 -1
View File
@@ -109,7 +109,7 @@ function initialize() {
tokendb.add(token, user.id, client.id, expires, scope, function (error) {
if (error) return callback(error);
debug('grant token: new access token for client %s token %s', client.id, token);
debug('grant token: new access token for client %s token %s', client.id, token.slice(0, 6)); // partial token for security
callback(null, token);
});