Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Implements hook_form_FORM_ID_alter().
- *
- * User register form.
- */
- function hook_form_user_register_form_alter(&$form, $form_state) {
- // Override text and FAPI settings.
- $form['account']['pass']['#type'] = 'password';
- $form['account']['pass']['#title'] = t('Password');
Add Comment
Please, Sign In to add comment