View Full Version : force password change

01-04-2012, 04:33 AM
Ok so I have successfully set up a password reset script that when clicked on send the user a new password, now i want to expand the login system and force the user to set a new password on next login, how would i do this?

Old Pedant
01-04-2012, 05:20 AM
Put a field in the user table, along with the userid and password, that says "must reset password".

Check for it at next login. If there, force the change of password and reset the flag.