Password Reset

Forum
Last Post
Threads / Messages

keliptis

Member
Member
Joined
May 6, 2011
Messages
15
Points
0
Mysidian Dollar
0
So I had a user that forgot his pass and used the reset however the email never went out.

I checked the datebase and it says it was stored and shows a bunch. I tryed it with a test account and it said it did however the pass was never reset and I never got the email.

I decided to change it in the Admin area however now when i try to log in with that account it says the pass is wrong, both what I reset it to and what it was before.

So I assume it reset but not to what I said to reset to? and in the database its now way shorter then the rest of the passwords I did not manually change.

Im rather confused as to what it did and I never touched the php files for it.

I even started a fresh site and it still did the same?
 
Last edited:
I was just coming here to report (part of) this.
Apparently the Admin CP was never updated when the new password hash was released.

To fix, open admpost.php.

Around line 728, replace:
Code:
$password = md5($pass1);

With:
Code:
$password = passencr($username, $pass1);

That will let you manually reset passwords properly. :3
 
I figured after a while that was the issue that that was missing as mine were shorter I wasnt sure how to add it in.

I shall do that and see :) thank you

Edit: Thanks that worked great for that :)
 
Last edited:
Yeah I figured this one an old bug I did not fix before Mys v1.2.4 release, thanks a lot for pointing it out xCataluna.
 
Is there a reason why emails dont go out? From what I see it all works fine even adds them to the date base but they arent being emailed
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,280
Messages
33,130
Members
1,603
Latest member
Monako
BETA

Latest Threads

Top