Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: force password change
01-04-2012, 03:33 AM #1
- Join Date
- Jul 2011
- Thanked 0 Times in 0 Posts
force password change
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?
01-04-2012, 04:20 AM #2
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.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.