WooCommerce Integration

Overview

When WooCommerce is active, Teydea Login Security PRO automatically integrates with its custom forms. Password policies are enforced on all WooCommerce password-related workflows, and users are redirected to WooCommerce-specific pages instead of the default WordPress login screen.

What the Integration Covers

Login Form

When a customer logs in through the WooCommerce My Account login form, the plugin checks whether their current password is compliant with the active policy. If the password is non-compliant or expired, the customer is logged out and redirected to the WooCommerce lost password page with an appropriate message.

Registration Form

When a customer registers through the WooCommerce registration form, the plugin validates the chosen password against the policy that applies to the “customer” role. If the password does not meet the requirements, a WooCommerce error notice is displayed and registration is blocked.

Account Details Form

When a customer changes their password on the WooCommerce My Account → Account details page, the new password is validated against the active policy. If it does not comply, an error is displayed and the change is rejected.

Checkout Registration

If WooCommerce is configured to allow account creation during checkout, the plugin validates the password provided in the checkout registration form. This applies to both the classic checkout and the Store API (block-based checkout).

Password Reset Redirect

When a WooCommerce customer’s password is non-compliant or expired, the plugin redirects them to the WooCommerce My Account lost password endpoint instead of wp-login.php. This keeps the customer within the WooCommerce frontend experience.

Password Strength Meter

The integration dequeues WooCommerce’s built-in password strength meter script (wc-password-strength-meter). While the plugin’s password strength meter is turned on, it shows on the registration, account details, password reset and checkout password fields, and the block checkout’s own strength meter is hidden, so each field has one meter.

Activation

The WooCommerce integration activates automatically when both Teydea Login Security PRO and WooCommerce are active. No additional configuration is required.