-
AuthorPosts
-
July 31, 2017 at 11:07 am #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
RamonaAugust 2, 2017 at 10:22 am #833298Hey seykom,
Please, can you translate your question to English? this way our team can answer it faster.
Best regards,
John TorvikAugust 3, 2017 at 9:41 am #833790Hey,
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,
RamonaAugust 3, 2017 at 10:50 am #833813https://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, 4 months ago by Guenni007.
August 3, 2017 at 11:52 am #833834Thanks!
Can I change the number of 12 to 8 signs?
Thanks
RamonaAugust 3, 2017 at 3:24 pm #833919hm – you can try it with:
Strength Settings
3 = Strong (default)
2 = Medium
1 = Weak
0 = Very Weak / Anythingfunction 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, 4 months ago by Guenni007.
August 4, 2017 at 7:25 am #834207Hi,
Thanks for helping out Guenni007, did you have any luck with the last suggestion Ramona?
Best regards,
RikardAugust 4, 2017 at 9:25 am #834238Hey,
unfortunately it dosn’t work :(
Do you have another suggestion?
Thanks
RamiAugust 4, 2017 at 9:52 am #834244have 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' );
August 4, 2017 at 9:55 am #834246I set 1, but it dosn’t work…
August 4, 2017 at 10:04 am #834251first 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
-
AuthorPosts
- You must be logged in to reply to this topic.