Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/18/2019 06:57:54 AM (7 months ago)
Author:
imath
Message:

BP Nouveau: use the same control than WP to set the user password

On the BuddyPress registration page and on the general settings user’s page, BP Nouveau is now using the same control WordPress is using to let users choose their password. By default it generates a strong password to make the user aware of the importance of its robustness. The user can still edit it and if the password is too weak, the submit button is disabled until the user activates the checkbox to force the use of a weak password.

Developers, please note the src/bp-templates/bp-nouveau/js/password-verify.js is now deprecated and will be deleted in version 6.0.0. If you were using the bp-nouveau-password-verify script handle as a dependency of your script(s), please stop doing so before the 6.0.0 release.

Fixes #8092

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/common-styles/_bp_info_messages.scss

    r12082 r12397  
    260260        &.bad {
    261261
    262             @include pwd-bad-colors($color: $white);
     262            @include pwd-bad-colors($color: $black);
    263263        }
    264264
    265265        &.short {
    266266
    267             @include pwd-short-colors($color: $white);
     267            @include pwd-short-colors($color: $black);
     268        }
     269
     270        &.good {
     271
     272            @include pwd-good-colors($color: $black);
    268273        }
    269274
    270275        &.strong {
    271276
    272             @include pwd-good-colors($color: $white);
     277            @include pwd-strong-colors($color: $black);
    273278        }
    274279
Note: See TracChangeset for help on using the changeset viewer.