You are here

function email_registration_form_user_pass_alter in Email Registration 7

Same name and namespace in other branches
  1. 8 email_registration.module \email_registration_form_user_pass_alter()
  2. 6 email_registration.module \email_registration_form_user_pass_alter()

Implements hook_form_FORM_ID_alter().

File

./email_registration.module, line 139
Allows users to register with an e-mail address as their username.

Code

function email_registration_form_user_pass_alter(&$form, &$form_state) {
  $form['name']['#title'] = t('E-mail');
  email_registration_email_field($form['name']);
}