diff --git a/lib/manager.js b/lib/manager.js index 6c12a52f14..7c5435efa5 100644 --- a/lib/manager.js +++ b/lib/manager.js @@ -900,7 +900,7 @@ Manager.prototype.authorize = function (data, fn) { var self = this; this.get('authorization').call(this, data, function (err, authorized) { - self.log.debug('client ' + authorized ? 'authorized' : 'unauthorized'); + self.log.debug('client ' + (authorized ? 'authorized' : 'unauthorized')); fn(err, authorized); }); } else {