You are here

function ldap_authentication_form_user_profile_form_alter in Lightweight Directory Access Protocol (LDAP) 7

Same name and namespace in other branches
  1. 8.2 ldap_authentication/ldap_authentication.module \ldap_authentication_form_user_profile_form_alter()
  2. 7.2 ldap_authentication/ldap_authentication.module \ldap_authentication_form_user_profile_form_alter()

Implements hook_form_FORM_ID_alter(). for user_profile_form

File

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

Code

function ldap_authentication_form_user_profile_form_alter(&$form, $form_state) {
  ldap_server_module_load_include('inc', 'ldap_authentication', 'ldap_authentication');
  _ldap_authentication_form_user_profile_form_alter($form, $form_state, 'user_login');
}