So, no changing of email without changing the password then?
Re:Storing Passwords Securely
by jmaygarden on Thursday June 07, 2012 @03:04AM
(#4077939)
No, just require that the password is entered to change the user's email address. Then a new hash can be generated and stored.
Usually we fetch user/email, hash password, compare to hash in database - authenticate if match or deny if not.