diff --git a/lib/claims/PassportProfileMapper.js b/lib/claims/PassportProfileMapper.js index 6bc09ec..ca68564 100644 --- a/lib/claims/PassportProfileMapper.js +++ b/lib/claims/PassportProfileMapper.js @@ -48,9 +48,7 @@ PassportProfileMapper.prototype.getClaims = function () { Object.keys(this._pu).filter(function (k) { return !~dontRemapAttributes.indexOf(k); - }).forEach(function (k) { - claims['http://schemas.passportjs.com/' + k] = this._pu[k]; - }.bind(this)); + }).forEach((k) => { claims['http://schemas.passportjs.com/' + k] = this._pu[k]}); return claims; };