function user_login_authenticate_validate

7.x user.module user_login_authenticate_validate($form, &$form_state)
6.x user.module user_login_authenticate_validate($form, &$form_state)

A validate handler on the login form. Check supplied username/password against local users table. If successful, sets the global $user object.

1 string reference to 'user_login_authenticate_validate'
user_login_default_validators in drupal-6.x/modules/user/user.module
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…

File

drupal-6.x/modules/user/user.module, line 1357
Enables the user registration and login system.

Code

function user_login_authenticate_validate($form, &$form_state) {
  user_authenticate($form_state['values']);
}