I have an app that users can invite other people to by sending them an e-mail address. These invitees get stored in a special table that gets queried when a user signs up, connecting email addresses and adding the new user to any private objects they may have been invited to.
However, I just realized that when a user gets an invite, and then signs up with an other e-mail address, the system won't see them as being attached to those private objects.
I can't immediately see a way around that problem except for adding the email address they signed up with into the link and then having multiple email addresses per user stored. But this seems excessive.
Has anyone else experienced this before, and have any ideas on how to work around it?