In Devise 2.2.3 and Rails 3.2.x, I want to create a routine whereby users can manually invalidate a confirmation token/email that they may have sent to the wrong email address.
I'm thinking I need to nullify the unconfirmed email and the confirmation token. Is this right?
I don't see anything on Google or the Devise documentation about this procedure.
Scenario:
- Existing user changes their email.
- User realizes they just sent an email to their ex-wife. : ) Or whatever.
- User doesn't want ex to have control over their account.
- User quickly cancels the procedure, thereby protecting their security.
Thanks!