Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If a given anonymous user signs up for an event with an email address that is later used to register on the site, the new registrant should become linked to the prior signups.
Patch attached.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1148192-convert-anon-signups.patch | 777 bytes | djdevin |
signup_link-new-registrants-to-signups.patch | 1018 bytes | mstef |
Comments
Comment #1
djdevinJust cleaned up the patch a little bit - also, I don't think it's necessary to store the user's name in the form_data - we're already linking it to the account.
There might be a lot more to think about:
1) When email has to be verified (we don't want to assign signups to a pending user)
2) When users can change their own emails without validation
Comment #2
djdevinComment #3
scottrigbyThe pending email confirmation issue is just as secure as signups during registration.
Once the new user logs in, they can manage their signups in the event someone signed them up as a hoax (like, if someone signs up Barack Obama's email for an anon signup). This patch actually makes the process a bit better IMO… prior to this, the cancel anon signup URL was the only way to cancel a signup, and if that email is deleted - too bad. But now the user can log in and handle it.