The default password does not have a max length. The current theme in form.inc adds an empty maxlength attribute.
The code validator I am using complains about the empty attribute.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | form_1.patch | 1012 bytes | wpd |
| form.patch.txt | 1.11 KB | wpd |
Comments
Comment #1
webchickI think this might be better to fix in system_elements, by giving the password element a default #size.
Comment #2
webchickAnd I meant #maxlength. :P
Comment #3
wpd commentedI thought about that, but I disagree. The themeing function is broken. It is adding an optional atrtibute with an invalid value.
PS: Here is a related issue, but not quite the same.
http://drupal.org/node/79580
Comment #4
killes@www.drop.org commentedmoving to cvs, willback port if committed.
Comment #5
dries commentedI agree with wdp that the theme function needs to be fixed.
Unfortunately, the patch doesn't apply against CVS HEAD. Care to re-roll against CVS HEAD?
Comment #6
wpd commentedPatch re-rolled against HEAD
Comment #7
dries commentedCommitted to HEAD. Thanks a bundle.
Comment #8
(not verified) commentedComment #9
webchickMarking to be ported. See http://drupal.org/node/92858 for discussion.
Comment #10
killes@www.drop.org commentedused original patch, fixed.
Comment #11
(not verified) commented