|
|
|
@ -219,7 +219,7 @@ if ($display_all_form) { |
|
|
|
|
$form->addRule('pass2', get_lang('ThisFieldIsRequired'), 'required'); |
|
|
|
|
$form->addRule(array('pass1', 'pass2'), get_lang('PassTwo'), 'compare'); |
|
|
|
|
if (CHECK_PASS_EASY_TO_FIND) { |
|
|
|
|
$form->addRule('password1', get_lang('PassTooEasy').': '.api_generate_password(), 'callback', 'api_check_password'); |
|
|
|
|
$form->addRule('pass1', get_lang('PassTooEasy').': '.api_generate_password(), 'callback', 'api_check_password'); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// PHONE |
|
|
|
|