function ldap_authentication_form_user_login_alter in Lightweight Directory Access Protocol (LDAP) 7
Same name and namespace in other branches
- 8.2 ldap_authentication/ldap_authentication.module \ldap_authentication_form_user_login_alter()
- 7.2 ldap_authentication/ldap_authentication.module \ldap_authentication_form_user_login_alter()
Implements hook_form_FORM_ID_alter(). for user_login
File
- ldap_authentication/
ldap_authentication.module, line 324 - This module injects itself into Drupal's Authentication stack.
Code
function ldap_authentication_form_user_login_alter(&$form, &$form_state) {
ldap_server_module_load_include('inc', 'ldap_authentication', 'ldap_authentication');
_ldap_authentication_login_form_alter($form, $form_state, 'user_login');
}