function ldap_authentication_form_user_login_form_alter in Lightweight Directory Access Protocol (LDAP) 8.3
Same name and namespace in other branches
- 8.4 ldap_authentication/ldap_authentication.module \ldap_authentication_form_user_login_form_alter()
Implements hook_form_FORM_ID_alter().
For user_login_form.
File
- ldap_authentication/
ldap_authentication.module, line 168 - This module injects itself into Drupal's Authentication stack.
Code
function ldap_authentication_form_user_login_form_alter(&$form, FormStateInterface $form_state, $form_id) {
_ldap_authentication_login_form_alter($form, $form_state, 'user_login');
}