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:
Claudio Sanches 2016-11-16 17:15:00 -02:00 committed by GitHub
commit 003728ff11
1 changed files with 1 additions and 1 deletions

View File

@ -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' );
}
}