Page 1 of 1

User System Reset Password

Posted: Mon Nov 09, 2015 2:43 am
by tiaz1988
Hi!

I've done this "user reset password"
It works fine untill I sholud log back in, then it says that is incorrect username or password.
I know that I enter the right, why can't I log back in what can be the problem?
It updating password in database and I get the mail and everything, but when I should user the generated random pass to log back in can't I login.

Please, can you help me to figure out the problem.

Take care!

//Tiaz1988

Re: User System Reset Password

Posted: Tue Nov 17, 2015 6:12 pm
by killfrog47
tiaz1988 wrote:Hi!

I've done this "user reset password"
It works fine untill I sholud log back in, then it says that is incorrect username or password.
I know that I enter the right, why can't I log back in what can be the problem?
It updating password in database and I get the mail and everything, but when I should user the generated random pass to log back in can't I login.

Please, can you help me to figure out the problem.

Take care!

//Tiaz1988
So I havent tried out this script at all but it doesnt look like there is any hashing going on of the password before it gets inserted into the database. You could try just copy and pasting the password and email straight from the database just to absolutely be sure everything matches. If it doesnt let you log in still the issue might be in your actual login script not the reset password script. Hope this helps!