added password length

This commit is contained in:
Bachir Soussi Chiadmi 2021-07-14 10:54:49 +02:00
parent d805ed5447
commit dddd19a7b3
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ function materio_user_form_user_modal_form_alter(&$form, FormStateInterface $for
function _materio_user_process_password_confirm($element){
// ksm($element);
$element['pass1']['#description'] = t('Password must contains lowercase, uppercase, digits and special characters.');
$element['pass1']['#description'] = t('Password must contains height lowercase, uppercase, digits and special characters.');
$element['pass1']['#attributes'] += array(
"v-model" => "pass1",
"placeholder" => $element['pass1']['#title'],