You are here

function ldap_authentication_form_user_login_block_alter in Lightweight Directory Access Protocol (LDAP) 7

Same name and namespace in other branches
  1. 8.4 ldap_authentication/ldap_authentication.module \ldap_authentication_form_user_login_block_alter()
  2. 8.2 ldap_authentication/ldap_authentication.module \ldap_authentication_form_user_login_block_alter()
  3. 8.3 ldap_authentication/ldap_authentication.module \ldap_authentication_form_user_login_block_alter()
  4. 7.2 ldap_authentication/ldap_authentication.module \ldap_authentication_form_user_login_block_alter()

Implements hook_form_FORM_ID_alter(). for user_login_block

File

ldap_authentication/ldap_authentication.module, line 333
This module injects itself into Drupal's Authentication stack.

Code

function ldap_authentication_form_user_login_block_alter(&$form, &$form_state) {
  ldap_server_module_load_include('inc', 'ldap_authentication', 'ldap_authentication');
  _ldap_authentication_login_form_alter($form, $form_state, 'user_login_block');
}