Changing Passwords PHP -
how can allow change of password md5 in mind. when accounts being created passwords being entered in md5. when display password field of course in md5 (don't worry testing purposes showing password in field instead of displaying hashes or dashes).
so how go changing passwords then? when changed need in md5.
don't display in password field. have 3 fields. 1 original password (for security), , 2 new password (one verification).
when submitted, check old password, if it's right, md5 new 1 , save it.
Comments
Post a Comment