Para ello en nuestro template.php deberemos:
function insurance_form_user_profile_form_alter(&$form, &$form_state, $form_id) {
$form['account']['pass']['#process'] = array('form_process_password_confirm', 'register_alter_password_confirm');
break;
}
}
/**
* Implementation of expand_password_confirm.
*/function register_alter_password_confirm($element) {
$element['pass1']['#title'] = t("Password");
$element['pass2']['#title'] = t("Repeat password");
return $element;
}