Hello,
I recently posted about the topic “Account login/register tabs – password reset function.”
That issue is now resolved — the password reset now works correctly on the /login page, allowing users to reset their password without being redirected to the /my-account page.
However, I have two additional small changes I’m hoping you can help with:
Password reset URL in email:
The password reset process works as expected, but the {reset_password_url} in the password reset email still directs users to the /my-account page.
Is there a way to customize the {reset_password_url} used in the email template, or replace it with a specific URL such as /login/lost-password?key
Login and registration messages:
Any login or registration messages (e.g., “Incorrect username” or “Signup successful”) still cause a redirect to the /my-account page.
Please note: as the login messages are important for users, a temporary plugin was created to handle this (issue #2). However, I now need to remove this plugin and would like to find a way to display these login messages without redirection to the /my-account page.
I’ve provided a video demonstrating the desired functionality:
https://drive.google.com/file/d/1lKxj9-CB4zHEdMm17fcpWRsWKD7612kO/view?usp=sharing
This video shows how the live site currently functions using the custom-made plugin “Auth Notifications Manager.” My goal is to remove this plugin and achieve the same functionality natively, without it.
Below is a link to the staging site, which has the password reset working on the /login page but with the Auth Notifications Manager plugin disabled. As you can see, all login and signup messages currently redirect to /my-account: