user_login_default_validators

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.

modules/user/user.module, строка 1282

Версии
6
user_login_default_validators()

Set up a series for validators which check for blocked/denied users, then authenticate against local database, then return an error if authentication fails. Distributed authentication modules are welcome to use hook_form_alter() to change this series in order to authenticate against their user database instead of the local users table.

We use three validators instead of one since external authentication modules usually only need to alter the second validator.

See also

user_login_name_validate()

@see user_login_authenticate_validate()

See also

user_login_final_validate()

Возвращаемое значение

array A simple list of validate functions.

▾ 2 функции вызывают user_login_default_validators()

user_login in modules/user/user.module
Конструктор формы; генерирует форму для входа на сайт.
user_login_block in modules/user/user.module

Код

<?php
function user_login_default_validators() {
  return array('user_login_name_validate', 'user_login_authenticate_validate', 'user_login_final_validate');
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему