There should be plugins to handle this and I don’t think password is specifically part of BP so you may have more luck searching for wordpress solutions, I’ve customised the code on the following site in the past and it worked well https://sltaylor.co.uk/blog/enforce-strong-wordpress-passwords/
Thanks, but it seems, that the BP form to change your profile is somehow altered and not the “original” WP form to change user settings, hence theres no check right now 🙁 Also “Force Strong Passwords” doesnt do anything, I can simply submit a weak password…
See, the plugin doesnt work on “password change” for existing users:
https://wordpress.org/support/plugin/force-strong-passwords/
🙁
I meant this link here: https://wordpress.org/support/topic/buddypress-profile-change-password-skipped/
Here someone is complaining about it as well.
So right now, no solution on the internet 🙁
Does anyone already have a solution? i have the same problem too
If you need to force strong password, you can simply disable the checkbox that is allowing the use of weak passwords, eg:
function no_weak_password_checkbox() {
wp_add_inline_script( 'bp-nouveau', '
( function() {
document.querySelector( \'.pw-weak\').remove();
} )();
');
}
add_action( 'bp_enqueue_scripts', 'no_weak_password_checkbox' );