We have a request to not store personally identifiable info in Drupal. I see there is this code:
if (!$drupal_user) {
if (empty($userprofile->Email_value)) {
$phoneid = isset($userprofile->PhoneId) ? $userprofile->PhoneId : $userprofile->ID;
$userprofile->Email_value = $this->getRandomEmail($_SERVER['HTTP_HOST'], $phoneid);
}
But I don't see a way to prevent the Email_value from appearing on the userprofile. It would be nice to be able to configure this in drupal.
Proposed solution:
Add a checkbox on the login radius settings "Don't save e-mail address in Drupal" which would trigger this code.
Comments
Comment #2
oknateHere's a patch that works. I'll still need to test with registration and e-mail confirmation.
Comment #3
oknateComment #4
Sudhanshu.Agarwal commentedHi @oknate,
This issue is fixed in version 8.x-3.16
Comment #5
Sudhanshu.Agarwal commented