diff --git a/core/modules/user/user.module b/core/modules/user/user.module index eafe48d..b355006 100644 --- a/core/modules/user/user.module +++ b/core/modules/user/user.module @@ -2660,14 +2660,14 @@ function user_form_process_password_confirm($element) { 'confirmTitle' => t('Passwords match:'), 'confirmSuccess' => t('yes'), 'confirmFailure' => t('no'), + 'showStrengthIndicator' => FALSE, ); if (config('user.settings')->get('password_strength')) { global $user; - + $password_settings['showStrengthIndicator'] = TRUE; $password_settings += array( - 'showStrengthIndicator' => TRUE, 'strengthTitle' => t('Password strength:'), 'hasWeaknesses' => t('To make your password stronger:'), 'tooShort' => t('Make it at least 6 characters'),