summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2007-01-11 03:24:42 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2007-01-11 03:24:42 +0000
commit36cd6b2b21a61cc73d837bcac22b163a39ef5e44 (patch)
tree0fe2d5d23534aa9d5506faefdba9c398abf4df33 /modules/user/user.module
parent8bd8a972829839f16a6234e7d93e7c6d9077f004 (diff)
downloadbrdo-36cd6b2b21a61cc73d837bcac22b163a39ef5e44.tar.gz
brdo-36cd6b2b21a61cc73d837bcac22b163a39ef5e44.tar.bz2
#107966: Make login fields consistent size.
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) {