diff --git a/src/controllers/userProfileController.js b/src/controllers/userProfileController.js index 218b6c832..748f86da9 100644 --- a/src/controllers/userProfileController.js +++ b/src/controllers/userProfileController.js @@ -432,6 +432,7 @@ const createControllerMethods = function (UserProfile, Project, cache) { const updateCommonFields = (req, record) => { const commonFields = [ 'jobTitle', + 'email', 'emailPubliclyAccessible', 'phoneNumberPubliclyAccessible', 'profilePic', @@ -572,7 +573,6 @@ const createControllerMethods = function (UserProfile, Project, cache) { if (!(await hasPermission(req.body.requestor, 'putUserProfileImportantInfo'))) return; const importantFields = [ - 'email', 'role', 'isRehireable', 'isActive',