I have a Drupal site with content type
people. In that content type I have a field that contains an email id.
What I want to do is, whenever the new user is registered, I want to compare the user's email with the email field of all the nodes with
people as the content type. If these 2 fields match, then set the user as the author of that node.
I don't know how to execute this process.
Can anyone give me a solution?