added password length
This commit is contained in:
parent
d805ed5447
commit
dddd19a7b3
|
@ -82,7 +82,7 @@ function materio_user_form_user_modal_form_alter(&$form, FormStateInterface $for
|
||||||
|
|
||||||
function _materio_user_process_password_confirm($element){
|
function _materio_user_process_password_confirm($element){
|
||||||
// ksm($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(
|
$element['pass1']['#attributes'] += array(
|
||||||
"v-model" => "pass1",
|
"v-model" => "pass1",
|
||||||
"placeholder" => $element['pass1']['#title'],
|
"placeholder" => $element['pass1']['#title'],
|
||||||
|
|
Loading…
Reference in New Issue