| 6 user.module | user_login_authenticate_validate($form, &$form_state) |
| 7 user.module | user_login_authenticate_validate($form, &$form_state) |
| 8 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'
File
- modules/
user/ user.module, line 1346 - Enables the user registration and login system.
Code
function user_login_authenticate_validate($form, &$form_state) {
user_authenticate($form_state['values']);
}
Login or register to post comments
Comments
Can I use it for a subscription validation?
Hi, Is this a right place I can use for subscription validation.
The purpose is simple as to hook this function in my customized module in order to validate a subscription period. The validation would show an error when the user's subscription is expired.