- Patch #87622 by chx: added maxlength for password in user login block.

4.7.x
Dries Buytaert 2006-10-23 06:34:29 +00:00
parent 62c2497d90
commit f237efbddb
1 changed files with 1 additions and 0 deletions

View File

@ -562,6 +562,7 @@ function user_block($op = 'list', $delta = 0, $edit = array()) {
);
$form['pass'] = array('#type' => 'password',
'#title' => t('Password'),
'#maxlength' => 60,
'#size' => 15,
'#required' => TRUE,
);