PHP-Login
PHP-Login copied to clipboard
Password reset is not working
When I click on password reset email link then reset form appears but password doesn't change and nothing response shows
Mine gives an error.
For some reason it's not finding the PHPLogin
resetformsubmit.php echos: Unknown error occured [AJ14440]
server error logs show:
PHP message: PHP Fatal error: Uncaught Error: Class 'PHPLogin' not found in /var/www/testsite/login/ajax/resetformsubmit.php:27 Stack trace: #0 {main} thrown in /var/www/testsite/login/ajax/resetformsubmit.php on line 27" while reading response header from upstream, client: ::1, server: localhost, request: "POST //login/ajax/resetformsubmit.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "localhost", referrer: "http://localhost//login/resetpassword.php?t=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9sb2NhbGhvc3RcLyIsIm5iZiI6MTUzNjg1ODMyMSwiZXhwIjoxNTM2OTQ0NzIxLCJ0b2tlbmlkIjoidF81YjlhOThjYzIyNDMzOC41ODU1NzI2NiIsInVzZXJpZCI6IjIwMzA2MjYzODQ1Yjk5YmJlMDFjZTI3IiwiZW1haWwiOiJqZWZmLmFnZWVAeWFob28uY29tIiwidXNlcm5hbWUiOiJlbGplZmUxMSIsInB3X3Jlc2V0IjoidHJ1ZSJ9.g91UvLcy0PNQNRnnSPRsu_v8j65up-XXpbFIjpS9C48"
I altered one line in "resetformsubmit.php".
Changed:
$secret = PHPLogin\AppConfig::pullSetting("jwt_secret");
to:
$apconf = New PHPLogin\AppConfig;
$secret = $apconf::pullSetting("jwt_secret");
Solved all my errors above.
I am having a problem with reset password form also. 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!