Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #832052

    Hallo zusammen,

    wir verwenden WooCommerce – hier taucht das Problem auf, dass die Passwortstärke verhindert sein Passwort anzulegen.

    Auch bei der Funktion: Passwort vergessen

    Könnt ihr mir bitte helfen, wie die Passwortstärke zwar angezeigt wird, aber nicht verhindert, das Passwort zu nehmen?

    Vielen Dank und liebe Grüße
    Ramona

    #833298

    Hey seykom,

    Please, can you translate your question to English? this way our team can answer it faster.

    Best regards,
    John Torvik

    #833790

    Hey,

    we want to prevent the password strength.

    It appears also at the function: “Forget your password?”

    The password strength should display, but not prevent to use this password.

    Thanks,
    Ramona

    #833813

    https://www.youtube.com/watch?v=8SHiL4u7m_Y

    Mit dem Update zur WooCommerce Version 2.5.1 kann man jetzt auch wieder mit einem schwachen Passwort einkaufen, aber die Anzeige der Passwortstärke ist weiterhin vorhanden.

    this to your child-theme functions.php:

    function wc_remove_password_strength() {
    	if ( wp_script_is( 'wc-password-strength-meter', 'enqueued' ) ) {
    		 wp_dequeue_script( 'wc-password-strength-meter' );
    	}
    }
    add_action( 'wp_print_scripts', 'wc_remove_password_strength', 100 );

    or you can use a little plugin for that: https://de.wordpress.org/plugins/password-strength-for-woocommerce/

    • This reply was modified 7 years, 3 months ago by Guenni007.
    #833834

    Thanks!

    Can I change the number of 12 to 8 signs?

    Thanks
    Ramona

    #833919

    hm – you can try it with:

    Strength Settings
    3 = Strong (default)
    2 = Medium
    1 = Weak
    0 = Very Weak / Anything

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

    but be careful – a strong password saves not time but nerves. Test a password with 8 digits here – and see how long it will take to get it!
    https://www.passwortcheck.ch/passwortcheck/passwortcheck

    • This reply was modified 7 years, 3 months ago by Guenni007.
    #834207

    Hi,

    Thanks for helping out Guenni007, did you have any luck with the last suggestion Ramona?

    Best regards,
    Rikard

    #834238

    Hey,

    unfortunately it dosn’t work :(

    Do you have another suggestion?

    Thanks
    Rami

    #834244

    have you played a bit with the strength settings? maybe 2 is too high than take 1

    function reduce_woocommerce_min_strength_requirement( $strength ) {
        return 1;
    }
    add_filter( 'woocommerce_min_password_strength', 'reduce_woocommerce_min_strength_requirement' );
    #834246

    I set 1, but it dosn’t work…

    #834251

    first of all did you update to the latest Woocommerce – because they get back to a less secure way.

    and you should only use one of the snippets – some comments on the internet says that :

    …can you provide some filter code for reducing the password requirement to 2 when you get a chance? Presumably if you use the woocommerce_min_password_strength filter you should not be using remove_wc_password_meter as that defeats the purpose.

    so try to let the password_meter as it is and only use the last snippet – maybe with the 1

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.