Problem:
How does the lost password ShortCode of Views work exactly?
Solution:
The ShortCode
wpv-forgot-password-form
in it's full usage amplitude works like this:
1. This displays a Form that let's you enter the Username or Email and click a button "get new password".
[wpv-forgot-password-form redirect_url="url-to-your-site.com/success/" redirect_url_fail="url-to-your-site.com/failure/" reset_password_url="url-to-your-site.com/reset/"]
2. When all the above attributes are applied, the process works as this:
- redirect_url
This will apply if the username or email entered exists.
It will redirect to the URL set in the attribute redirect_url, and result in a URL like this:
url-to-your-site.com/success/?checkemail=confirm
- redirect_url_fail
This will apply if the username or email entered does not exist.
It will redirect to the URL set in the attribute, and result in a URL like this:
url-to-your-site.com/failure/?wpv_error=invalidcombo
- reset_password_url
This will be the link in your Email, where to the user is directed to enter his new Password.
The link in the email will be similar to:
url-to-your-site.com/reset/?action=rp&key=amLXCkuwZcajvdasfPPDfaPp&login=anything
(Of course, username and key are different in every case)
This link is clickable in the email.
Relevant Documentation:
https://toolset.com/documentation/user-guides/views-shortcodes/#vf-428134
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 |
---|---|---|---|---|---|---|
- | - | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 |
- | - | - | - | - | - | - |
Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)
This topic contains 2 replies, has 2 voices.
Last updated by 6 years, 9 months ago.
Assisted by: Beda.