You are here

function multiple_email_form_user_pass_alter in Multiple E-mail Addresses 7

Implements hook_form_FORM_ID_alter().

File

./multiple_email.module, line 245
multiple_email module file

Code

function multiple_email_form_user_pass_alter(&$form, &$form_state, $form_id) {
  if (variable_get('multiple_email_password_reset', 'disabled') !== 'disabled') {
    array_unshift($form['#validate'], '_multiple_email_user_pass_form_validate');
  }
}