summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module2
1 files changed, 2 insertions, 0 deletions
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) {