PHP-Login icon indicating copy to clipboard operation
PHP-Login copied to clipboard

Reset password button not working.

Open jtraceyProblem opened this issue 6 years ago • 5 comments

I am having a problem with reset password form. When I click "reset" nothing happens. Nothing. I don't get any errors or anything. Could really use some help with this. I have a fresh build here: http://www.myinkstories.com/test/

Thank You!

jtraceyProblem avatar Oct 05 '18 16:10 jtraceyProblem

Looks like u have issue in ur mailer settings.I made a new account but didn't received mail for verification. Login as Super Admin and recheck ur mail configuration (Specially mail server) under site configuration page

atharvaunde avatar Oct 13 '18 04:10 atharvaunde

Looks like u have issue in ur mailer settings.I made a new account but didn't received mail for verification. Login as Super Admin and recheck ur mail configuration (Specially mail server) under site configuration page

Update 1 ; Got mail for verification but password reset is broken ! same issue in my build also

atharvaunde avatar Oct 13 '18 05:10 atharvaunde

The problem is with this line of code in file /login/ajax/resetformsubmit.php on line 26:

$config = PHPLogin::pullMultiSettings(array("password_policy_enforce", "password_min_length", "signup_thanks", "base_url")); This produces Fatal error: Uncaught Error: Class 'PHPLogin' not found in...

Replace this line with the line bellow:

$config = PHPLogin\AppConfig::pullMultiSettings(array("password_policy_enforce", "password_min_length", "signup_thanks", "base_url"));

budiony avatar Oct 17 '18 08:10 budiony

Sorry but that did not fix anything. When you click on the "Reset" button on login/resetpassword.php nothing happens. I saw where you were in the system and added a user. Did you try to reset the password for that user? Try that and you will see what is happening.

oh and thank you so much for the time you are spending on this. I'm honored.

jtraceyProblem avatar Oct 17 '18 19:10 jtraceyProblem

@jtraceyProblem I just made changes suggested by @budiony and it is working perfectly fine now. I made new user and via password reset page i requested a lick , added new password form and it got changed !

Thanks a lot @budiony for bug fix! Definitely u should do a Pull request

atharvaunde avatar Oct 18 '18 11:10 atharvaunde