function email_registration_form_user_login_alter in Email Registration 6
Same name and namespace in other branches
- 7 email_registration.module \email_registration_form_user_login_alter()
Implementation of hook_form_FORMID_alter().
File
- ./
email_registration.module, line 128 - For registration process without a username
Code
function email_registration_form_user_login_alter(&$form, $form_state) {
$form['name']['#title'] = t('E-mail');
$form['name']['#description'] = t('Enter your e-mail address.');
$form['pass']['#description'] = t('Enter the password that accompanies your e-mail.');
$form['name']['#element_validate'][] = 'email_registration_user_login_validate';
}