- changed version to 2.3.0;

- added update for Required strong password option;
This commit is contained in:
Nikita Sinelnikov
2021-12-14 17:44:07 +02:00
parent e5e2fb1b31
commit 9c9ac59be7
13 changed files with 311 additions and 140 deletions
+1 -1
View File
@@ -541,7 +541,7 @@ if ( ! class_exists( 'um\core\Password' ) ) {
$args['confirm_user_password'] = sanitize_text_field( $args['confirm_user_password'] );
}
if ( UM()->options()->get( 'reset_require_strongpass' ) ) {
if ( UM()->options()->get( 'require_strongpass' ) ) {
$min_length = UM()->options()->get( 'password_min_chars' );
$min_length = ! empty( $min_length ) ? $min_length : 8;