Woocommerce > Settings > Advanced > Lost Password > remove ‘lost-password’ and save, then clear the cache
]]>“Hi user,
This notice confirms that your password was changed on <company name>.
If you did not change your password, please contact the Site Administrator at
[email protected]
This email has been sent to <user email>
Regards,
<company name>
https://domainname.com”
In the email, there is NO link for the user to reset their password. Why? That seems like common sense doesn’t it?
Here are my Email settings in WooCommerce:
Notifications enabled:
New Order, Failed Order, Completed Order, Customer note, Reset password, New account
Within the “Reset password” notification option:
Enabled
Subject (none-default)
Email Heading (none-default)
Email type: HTML
Account & Privacy Settings:
Guest checkout checked:
Allow customers to place orders without an account
Log in Allow customers to log into an existing account during checkout
Account creation checked:
When creating an account, automatically generate a username from the customer’s email address
When creating an account, automatically generate an account password
The only thing I can figure is because this is set to ‘auto’ the user doesn’t have any control but everything is controlled by the admin.
I do not have any caching plugins enabled nor any other systematic plugins enabled.
I’ve already read these forum posts:
https://www.ads-software.com/support/topic/reset-password-email-for-woocommerce-customers-is-not-working/
https://www.ads-software.com/support/topic/how-to-disable-woocommerce-password-recovery-and-use-wordpress-default/
Doesn’t apply to my issue, really, but I did try to find a solution. I know I can disable the WC endpoint “Lost your password?”. I’ve already tested with this and there is NO email sent.
]]>Here is a screenshot of the page I am seeing after a successful password reset: https://imgur.com/a/2tvdI
I am using Twenty Sixteen as the theme and I have deactivated all plugins.
Please advise!
### WordPress Environment ###
Home URL: ###
Site URL: ###
WC Version: 2.6.14
Log Directory Writable: ✔
WP Version: 4.7.2
WP Multisite: –
WP Memory Limit: 1 GB
WP Debug Mode: –
WP Cron: ✔
Language: en_US
### Server Environment ###
Server Info: LiteSpeed
PHP Version: 5.6.29
PHP Post Max Size: 30 MB
PHP Time Limit: 900
PHP Max Input Vars: 10000
cURL Version: 7.29.0
NSS/3.21.3 Basic ECC
SUHOSIN Installed: –
MySQL Version: 5.6.35
Max Upload Size: 30 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔
### Database ###
WC Database Version: 2.6.14
:
woocommerce_sessions: ✔
woocommerce_api_keys: ✔
woocommerce_attribute_taxonomies: ✔
woocommerce_downloadable_product_permissions: ✔
woocommerce_order_items: ✔
woocommerce_order_itemmeta: ✔
woocommerce_tax_rates: ✔
woocommerce_tax_rate_locations: ✔
woocommerce_shipping_zones: ✔
woocommerce_shipping_zone_locations: ✔
woocommerce_shipping_zone_methods: ✔
woocommerce_payment_tokens: ✔
woocommerce_payment_tokenmeta: ✔
MaxMind GeoIP Database: ✔
### Active Plugins (1) ###
WooCommerce: by WooThemes – 2.6.14
### Settings ###
Force SSL: ✔
Currency: RON (lei)
Currency Position: right_space
Thousand Separator: .
Decimal Separator: ,
Number of Decimals: 2
### API ###
API Enabled: ✔
### WC Pages ###
Shop Base: #30 - /###/
Cart: #26 - /###/
Checkout: #28 - /###/
My Account: #24 - /###/
### Taxonomies ###
Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)
### Theme ###
Name: Twenty Sixteen
Version: 1.3
Author URL: https://www.ads-software.com/
Child Theme: ❌ – If you're modifying WooCommerce on a parent theme you didn't build personally
then we recommend using a child theme. See: How to create a child theme
WooCommerce Support: ✔
### Templates ###
Overrides: –
]]>Issue: Users are experiencing an endless loop of password reset; continually being sent back to the initial reset screen after clicking the reset link provided in the auto-reset email.
Solution:
I found the issue and resolved this. It didn’t have anything to do with the woocommerce settings. It had to do with caching at the server/hosting level in some way.
For future reference, here’s what the support rep from WPEngine (hosting) said he did to set up a rule so the “my account” and “lost password” pages never get cached on the server side:
“I did a Varnish exclusion for everything along the path of ^/my-account”
Thanks!
Joe