summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-10-23 06:33:41 +0000
committerDries Buytaert <dries@buytaert.net>2006-10-23 06:33:41 +0000
commit778a2dc5bb813762e9be4d5a5c7589690d78c7c8 (patch)
tree4405919a7fd39c5b72b995a20c861840a97d91a9
parent3fa98c797d1b360c4468ecaa7f2781b26623cae0 (diff)
downloadbrdo-778a2dc5bb813762e9be4d5a5c7589690d78c7c8.tar.gz
brdo-778a2dc5bb813762e9be4d5a5c7589690d78c7c8.tar.bz2
- Patch #87622 by chx: added maxlength for password in user login block.
-rw-r--r--modules/user/user.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index ef6a5b8fb..5e5d20209 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -482,6 +482,7 @@ function user_login_block() {
);
$form['pass'] = array('#type' => 'password',
'#title' => t('Password'),
+ '#maxlength' => 60,
'#size' => 15,
'#required' => TRUE,
);