lackattack wrote:The new email address must get an activation link to cuz I want everyone to have a valid email. What I could do is send a notice to the old email so at least you'll know someone is messing with you. But you'd find out anyways once the hijacker changes your password.
You could send the messege with the new password and/or the new e-mail that it was changed to. The new one should be activated, but the old e-mail could have a link that would deactivate the new e-mail and change the password to something random that would be e-mailed to your old account.
Example:
Bill started playing and signed up using
billy@bob.jo with the password "imahippopotumous". He plays and all of the sudden he can't sign in. He checks his e-mail and sees that his e-mail was changed to
Laughs@yourmoms.com, his password was changed to "ihackedyou" and underneath those, a statement saying "If this is not your new e-mail or password click the link below". Bill never tampered with anything, so he clicks on the link, which leads him to a page that says that all new e-mail accounts have been deactivated and a new password has been e-mailed to the old account. He checks his e-mail and sees that he has recieved another e-mail that gives him a randomized password, "IwNtY0".
Also, you could add another link that would be clicked to turn the new e-mail address into the "Current" e-mail address, where the new e-mail would recieve the warning e-mails when the password or e-mail changes again.
I hope that makes sence