Merge pull request #12319 from woocommerce/allow-password-strength-lost-pass-page
[2.6] Allow password strength meter in "Lost Password" page
This commit is contained in:
commit
003728ff11
|
@ -181,7 +181,7 @@ class WC_Frontend_Scripts {
|
|||
|
||||
// Password strength meter.
|
||||
// Load in checkout, account login and edit account page.
|
||||
if ( ( 'no' === get_option( 'woocommerce_registration_generate_password' ) && ! is_user_logged_in() ) || is_edit_account_page() ) {
|
||||
if ( ( 'no' === get_option( 'woocommerce_registration_generate_password' ) && ! is_user_logged_in() ) || is_edit_account_page() || is_lost_password_page() ) {
|
||||
self::enqueue_script( 'wc-password-strength-meter' );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue