From 36cd6b2b21a61cc73d837bcac22b163a39ef5e44 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Thu, 11 Jan 2007 03:24:42 +0000 Subject: #107966: Make login fields consistent size. --- modules/user/user.module | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/user/user.module') diff --git a/modules/user/user.module b/modules/user/user.module index f2ffe0fac..dde3049db 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1312,6 +1312,7 @@ function user_edit_form($uid, $edit, $register = FALSE) { if (!$register) { $form['account']['pass'] = array('#type' => 'password_confirm', '#description' => t('To change the current user password, enter the new password in both fields.'), + '#size' => 25, ); } elseif (!variable_get('user_email_verification', TRUE) || $admin) { @@ -1319,6 +1320,7 @@ function user_edit_form($uid, $edit, $register = FALSE) { '#type' => 'password_confirm', '#description' => t('Provide a password for the new account in both fields.'), '#required' => TRUE, + '#size' => 25, ); } if ($admin) { -- cgit v1.2.3