WordPress Reset password Strength set to medium

I have been looking for an answer for a few days digging through hooks and actions.

I just cane seem to find a way to turn down the strength on the reset password page not sure if its through woo-commerce or WP

I have tried the following

add_filter( 'woocommerce_min_password_strength', 'reduce_woocommerce_min_strength_requirement' );
    function reduce_woocommerce_min_strength_requirement( $strength ) {
    return 2;
}

add_filter( 'wc_password_strength_meter_params', 'reduce_strength_meter_settings' );
function reduce_strength_meter_settings( $data ) {

    return array_merge( $data, array(
        'min_password_strength' = 2,
        'i18n_password_hint' = 'Change Hint here'
    ) );

}

Topic woocommerce-offtopic password actions filters plugin-development Wordpress

Category Web


You'll find a discussion of how the password strength is computed here: How is password strength calculated? .

As an aside, there is some discussion (one is here: https://nakedsecurity.sophos.com/2015/03/02/why-you-cant-trust-password-strength-meters/ ) that password strength 'analyzers' don't really result in strong passwords.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.