How to change the wording on user login form in Drupal 7 ?

To override the username and password description on the user login form, you must add the following code to your template :

function YOURTHEME_form_user_login_alter(&$form, &$form_state, $form_id) {
   if ($form_id == "user_login") {
      $form['name']['#description']='Enter your username description.';
      $form['pass']['#description']='Enter your password description.';

Replace YOURTHEME by the name of your current theme, and write your own descriptions.

You can also use the Stringoverrides module.

About the author

Consultant, Web strategist, and Drupal enthusiast, I use open source software to build application that connects people and spread ideas. I believe that internet can lead to powerful changes for progressive organizations, and for our future.

Keep in touch here