Support » Plugin: User registration & user profile - Profile Builder » Password length and strength

  • Resolved marcbo

    (@marcbo)


    I’ve just installed Profile Builder.

    Change password strength to medium and length to 4.
    On my registration page, WP still asks for 7 caracters and strong password.

    WordPress 4.6.1
    Woocommerce 2.6.4
    Storefront 2.1.2

    How can I solve this ?

    • This topic was modified 1 year, 8 months ago by  marcbo.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    You setup the Minimum Password Length and Minimum Password Strength in Profile Builder -> General Settings and the default WordPress Registration Form (wp-login.php?action=register) is still asking for 7 characters and strong password? Or this happens on Profile Builder’s Registration form?

    Best regards,

    Hi,

    Default WP Registration Form,

    Kind Regards,

    Marc

    Hi,

    I set the Minimum Password Length to 4 and Minimum Password Strength to Medium in PB -> General Settings. Then I went to wp-login.php -> Register and registered a test user. After inserting the username and email address I checked the email address for the notification.

    I clicked on the reset password link displayed inside the notification to reset the password. I tried to set a password that had 3 characters and a weak strength and the following error notices were displayed:

    ERROR: The password must have the minimum length of 4 characters
    ERROR: The password must have a minimum strength of Medium

    Did you tried this also?

    Best regards,

    Hi,

    Cannot reproduce your procedure because I’ve got the following error :

    “Your password reset link appears to be invalid. Please request a new link below.”

    I’ve disabled cache engine and most of my plugins….. I’m using SSL.

    Best Regards,
    Marc

    OK,

    reset link was bad, I can reproduce your procedure, it is working.

    However, on the registtration form (storefront + standard woocommerce form), the register buttons is still disabled until I reach the default password strenght.

    Profile builder settings are overriden by WP.

    Any idea to make this work ?

    Regards,

    Marc

    Following filter is working fine :

    /**
    *Reduce the strength requirement on the woocommerce password.
    *
    * Strength Settings
    * 3 = Strong (default)
    * 2 = Medium
    * 1 = Weak
    * 0 = Very Weak / Anything
    */
    function reduce_woocommerce_min_strength_requirement( $strength ) {
    return 1;
    }
    add_filter( ‘woocommerce_min_password_strength’, ‘reduce_woocommerce_min_strength_requirement’ );

    HTH,

    Marc

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Password length and strength’ is closed to new replies.