Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/imsyedusman/auto-login-after-password-reset/releases/download/v1.0.0/auto-login-after-password-reset.zipAutomatically log users in right after they reset their password — for both WordPress and WooCommerce.
This lightweight plugin enhances user experience by skipping the extra “log in again” step after a password reset. Once users successfully reset or change their password, they’re logged in instantly and redirected to a configurable page (like My Account).
✨ Features
- 🔒 Instant login after password reset or change
- ⚙️ Works with both core WordPress and WooCommerce reset flows
- 🔁 Optional custom redirect URL
- ✅ Built using WordPress Coding Standards
- 🌐 Fully translation-ready (
Text Domain: auto-login-after-password-reset) - 🧩 100% GPLv2 or later
🧠 How It Works
The plugin hooks into:
password_reset→ for default WordPress reset flowwoocommerce_customer_reset_password→ for WooCommerce reset flowafter_password_reset→ for password changes while logged in
It then uses WordPress’ built-in authentication functions:
wp_set_current_user();
wp_set_auth_cookie();
⚙️ Installation
Upload the plugin to /wp-content/plugins/auto-login-after-password-reset/
Activate it via Plugins → Installed Plugins
Go to Settings → Auto Login After Reset
Toggle the feature on/off and set a custom redirect URL (optional)
Releases
1 release. Each count is every asset in that release; expand a row for the breakdown.