installed password policy, retype password contraint instructions

This commit is contained in:
2021-07-14 10:24:29 +02:00
parent 1f8ae09838
commit cdee9e41a3
16 changed files with 264 additions and 3 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 and Uppercase Letters, numbers, and punctuation.');
$element['pass1']['#description'] = t('Password must contains lowercase, uppercase, digits and special characters.');
$element['pass1']['#attributes'] += array(
"v-model" => "pass1",
"placeholder" => $element['pass1']['#title'],