Custom Login Url Causes 404 when Resetting Password
-
Hello,
We’ve added a custom login url to our site, but we get redirected to 404 pages when following the “forgot password” path. Specifically, just after submitting a new password.
I’ve reproduced this by
– Go to the custom login url at /lp-connect
– Click the forgot password link
– Submit a valid username
– Follow the link given in the reset email
– Enter a valid password in the password reset field
– I get a 404 page instead of the reset success message
– The password is not reset, the old password still works for logging inI did open up the plugin source code and added code that seemed to resolve the issue. This might point to my problem.
I added the following code to the handle_login() function ~line 171 of /sg-security/core/Custom_Login_Url/Custom_Login_Url.phpif ( ‘resetpass’ === $action ) {
return;
}After adding this code I was able to successfully reset my password.
Any guidance or help on this issue would be greatly appreciated, thank you!
The page I need help with: [log in to see the link]
- The topic ‘Custom Login Url Causes 404 when Resetting Password’ is closed to new replies.