Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
fix(core): Add "additionalProvidersData" to "safeUserObject"
Browse files Browse the repository at this point in the history
Needed for management of social accounts.
  • Loading branch information
francisdaigle committed Feb 8, 2016
1 parent ce3d006 commit ba85dcc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/core/server/controllers/core.server.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ exports.renderIndex = function (req, res) {
profileImageURL: req.user.profileImageURL,
email: validator.escape(req.user.email),
lastName: validator.escape(req.user.lastName),
firstName: validator.escape(req.user.firstName)
firstName: validator.escape(req.user.firstName),
additionalProvidersData: req.user.additionalProvidersData
};
}

Expand Down

0 comments on commit ba85dcc

Please sign in to comment.