From 778a2dc5bb813762e9be4d5a5c7589690d78c7c8 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 23 Oct 2006 06:33:41 +0000 Subject: - Patch #87622 by chx: added maxlength for password in user login block. --- modules/user/user.module | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/user/user.module') 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, ); -- cgit v1.2.3