bratsun
11/26/2013 - 6:58 PM

Remove second password field (Confirm password) on registration page

Remove second password field (Confirm password) on registration page

// remove second password field (Confirm password) on registration page

function tmplt_form_user_register_form_alter(&$form, &$form_state, $form_id) {
  $form['account']['pass']['#type'] = 'password';
  $form['account']['pass']['#title'] = 'Password';
}