Commit 74db22bf authored by greggles's avatar greggles

Issue #186128 by greggles: Change 'username' field to 'Display Name'

parent ceac58ae
......@@ -107,3 +107,10 @@ function email_registration_user_login_validate($form, &$form_state) {
}
}
}
/**
* Implements hook_form_FORM_ID_alter().
*/
function email_registration_form_user_profile_form_alter($form, &$form_state) {
$form['account']['name']['#title'] = t('Display Name');
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment