Forgot password email link doesn't work
This topic contains 11 replies, has 2 voices, and was last updated by Alex Rollin 6 years, 3 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
August 8, 2018 at 10:03 am #2763
Please can you help. When the user selects Forgot Password, the Forgot password page is shown. They enter their email address and then receive an email with the following text:
Dear Delyth Chandler,
You can login here: login
Thank you,
Clicking “login” just takes them back to the login screen, with no opportunity to reset password.
August 8, 2018 at 10:33 am #2764Hello,
You can find the template for the email notification at:
UsersWP – Notifications – Forgot password email
This is the original :
<p>Dear [#user_name#],</p>[#login_details#]<p>You can login here: [#login_url#]</p><p>Thank you,<br /><br />[#site_name_url#].</p>
You can replace whatever is there this this text, and then change it to meet your needs.
If there is still a problem after you test, let us know and we can take a look at your settings.
August 8, 2018 at 10:40 am #2765Hi Alex,
Thanks for your reply, but the link is still wrong. [#login_url#]
I don’t want them to login I want them to be able to reset the passwordThanks again for your help
DelythAugust 8, 2018 at 10:52 am #2766This is what I get with the default value:
Dear username, You have requested to reset your password for the following account: https://site.com/123/ Username: username If this was by mistake, just ignore this email and nothing will happen. To reset your password, click the following link and follow the instructions. https://site.com/123/reset/?key=nhig24fXDuJkHwjDSXAm&login=username You can login here: login (https://site.com/123/reset/?key=nhig24fXDuJkHwjDSXAm&login=username) Thank you, https://site.com/123.
Maybe we are talking about different things, but the way this works is to send that key so the user can reset the password (not send them the old password).
August 8, 2018 at 1:23 pm #2772Hi Alex,
Thanks again for you help.
I found that the Forgot password email settings were wrong on this page:
http://bsgi.org.uk/wp/wp-admin/admin.php?page=uwp_notificationsI’ve have now amended this to
<p>Dear [#user_name#],</p>[#login_details#]<p>You can reset your password here: [#reset_link#]</p><p>Thank you,<br /><br />[#site_name_url#].</p>
Using the suggested shortcode of [#reset_link#], but this does not get replaced in the user’s email, it shows
“You can reset your password here: [#reset_link#]”and doesn’t substitute the link for the shortcode.
What could I be doing wrong please?
Many thanks
Delyth
August 8, 2018 at 3:14 pm #2773Per the release notes, try using one or the other, either login_details OR reset_link:
August 9, 2018 at 7:58 am #2780Ah great, that’s sorted it on my local dev environment, but I still have a problem on my staging and production environments, even though the settings appear to be exactly the same!
This is probably caused by something other than your plugin, but if you have any other thoughts on where to look, they would be greatly appreciated!
Many thanks again
Delyth
August 9, 2018 at 9:48 am #2783Hi,
You have ‘a problem’ as in another problem, or…the same problem?
August 9, 2018 at 10:05 am #2784On the staging site, when I have this in the forgot password email
<p>Dear [#user_name#],</p>[#reset_link#]<p>Thank you,<br /><br />[#site_name_url#].</p>I get an error on the forgot password form
“Error: Something went wrong when sending email. Please contact site admin.”When I have this in the forgot password email
<p>Dear [#user_name#],</p>[#login_details#]<p>Thank you,<br /><br />[#site_name_url#].</p>The email sends correctly, but doesn’t substitute any of the login-details:
“Dear Delyth Chandler,
Thank you,
http://bsgi-staging.core-clients.co.uk.
When I use the latter on the dev site, it sends the email and correctly puts the reset link etc in the email text.
Thank you again
August 9, 2018 at 11:43 am #2785Well, that’s not right. If you like we can take a look, but we will need WP Admin and FTP to diagnose the issue. You can use a private reply and only our team will be able to view the info.
Let us know
August 10, 2018 at 9:24 am #2796Thank you.
I’m not sure about granting you access as there will be confidentiality issues. I’ll let you know if I can work out how to do that with maybe some of the data removed.
Thanks again
Delyth
August 10, 2018 at 12:56 pm #2799OK, let us know, of if you find other issues.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket