Skip Navigation

[Assigned] Forgot Password is not working

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 1 voice.

Last updated by himanshuS 17 hours, 54 minutes ago.

Assisted by: Minesh.

Author
Posts
#2805288
Screenshot_1.png

Dear Support Team,

I am encountering an issue with the forgot password functionality on my website. I have implemented the following shortcode to render the password reset form:

[wpv-forgot-password-form redirect_url='hidden link' redirect_url_fail='/forgot-password/?reset_fail=true' reset_password_url='hidden link;

However, when a user attempts to submit the form, it consistently returns an error message stating: "Username not found."

The live form can be accessed here:
hidden link

Despite entering valid email addresses or usernames, the error persists. I would appreciate it if you could help identify the root cause and suggest a resolution. Please let me know if any additional configuration is required for this shortcode to work as intended, or if the form supports both usernames and email addresses for password reset.

#2805321

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

As per the Doc:
- https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#vf-428134

Attributes "redirect_url", "redirect_url_fail" and "reset_password_url" should have the absolute URLs.

attributes:
redirect_url (opt):An absolute URL |

URL that defines where the user is redirected to when the submission is successful. By default, that is the current page.  The URL used must be an absolute URL within the same website or within the allowed redirect hosts.

redirect_url_fail (opt):An absolute URL

This URL defines where the user is redirected to when the submission fails. By default, that is the current page. The URL used must be an absolute URL within the same website or within the allowed redirect hosts. When submission fails, some messages can be displayed, depending on the error type. These messages can be customized using the wpv_filter_override_auth_errors filter.

reset_password_url (opt):An absolute URL

This link is displayed in an email sent to a user requesting a password reset. This is particularly useful if you want to provide a custom "Reset Password" page. You can use the [wpv-reset-password-form] shortcode, to display a custom reset password form.

What if you try to use the following:

[wpv-forgot-password-form redirect_url='<em><u>hidden link</u></em>' redirect_url_fail='<em><u>hidden link</u></em>' reset_password_url='<em><u>hidden link</u></em>;
#2805333

Dear Support Team,

Thank you for your earlier response.

I’ve tested the shortcode again, and while the redirect URLs are working correctly, the form still returns the error "Username not found" — even when using a valid, existing user account.

For example, the following email exists in the system:
krishnashah972@gmail.com

It appears the issue may be related to how the form is validating user credentials rather than the shortcode parameters.

I’d appreciate your help in resolving this.

#2805334

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please check for any possible plugin conflict and see if you able to see it working.

Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes?
- Do you see any difference? if no:

Otherwise, please send problem URL and admin access details.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2805767

Christopher Amirian
Supporter

Languages: English (English )

Hi,

Thank you for the login information. Minesh is not available today but he will be online on Monday to resume the ticket.

I tried to login to your website and found out that there is a 2 factor authentication which prevents me to login. Please deactivate that so my colleague will be able to login on Monday.

Thank you.

#2805784

Dear Support Team,

Two-factor authentication was enabled on the staging site — I’ve now disabled it so you can access it without issues.

Please feel free to proceed.