0

I have a site where a minority of users are causing trouble by registering with one email address and then changing to another email address. Email Change Confirmation helps with this, but I would also like to keep a record of changed email addresses per-user, preferably in the Drupal UI.

I am thinking about making an email address field and using rules to automatically add an old email address when the user changes his or her email, but if there is a more robust solution I would love to know about it.

2
  • if you want to eliminate changes, you could grey out the email field in the user edit form, preventing users from changing their email - and then add new fields as 'alternative' emails, maintaining the integrity of the registration email
    – Geoff
    May 31, 2015 at 14:59
  • @Geoff I definitely don't want to eliminate changes, just keep track of them. There are lots of legitimate reasons a user may want to change his or her email address. May 31, 2015 at 17:03

1 Answer 1

1

The first thing that came to mind is Drupal's revision feature. Out of the box, Drupal let's you keep records of what changes are made to nodes over time. Users are a different entity, but the User Revision module aims to provide the same functionality. This Lullabot article explains it pretty well. You could give it a shot.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.