You are here

function ldap_user_form_user_profile_form_alter in Lightweight Directory Access Protocol (LDAP) 8.2

Same name and namespace in other branches
  1. 7.2 ldap_user/ldap_user.module \ldap_user_form_user_profile_form_alter()

Implements hook_form_FORM_ID_alter(). for user_register_form

File

ldap_user/ldap_user.module, line 466
Module for the LDAP User Entity

Code

function ldap_user_form_user_profile_form_alter(&$form, $form_state) {
  array_unshift($form['#submit'], 'ldap_user_grab_password_validate');
}