janinedog: (Default)
Janine ([personal profile] janinedog) wrote in [site community profile] changelog2009-04-06 05:40 pm

[dw-free] Navstrip login box tops out at 17 character username.

[commit: http://hg.dwscoalition.org/dw-free/rev/a99db500a12f]

http://bugs.dwscoalition.org/show_bug.cgi?id=650

Change maxlength of the username field in the navstrip.

Patch by six <riusha@gmail.com>.

Files modified:
  • cgi-bin/weblib.pl
--------------------------------------------------------------------------------
diff -r 77ee8cc2ca3b -r a99db500a12f cgi-bin/weblib.pl
--- a/cgi-bin/weblib.pl	Mon Apr 06 17:26:55 2009 +0000
+++ b/cgi-bin/weblib.pl	Mon Apr 06 17:39:44 2009 +0000
@@ -3213,7 +3213,7 @@ sub control_strip
                 <input type='hidden' name='chal' id='login_chal' class='lj_login_chal' value='$chal' />
                 <input type='hidden' name='response' id='login_response' class='lj_login_response' value='' />
                 <table cellspacing="0" cellpadding="0" style="margin-right: 1em;"><tr><td>
-                <label for="xc_user">$BML::ML{'/login.bml.login.username'}</label> <input type="text" name="user" size="7" maxlength="17" tabindex="1" id="xc_user" value="" />
+                <label for="xc_user">$BML::ML{'/login.bml.login.username'}</label> <input type="text" name="user" size="7" maxlength="27" tabindex="1" id="xc_user" value="" />
                 </td><td>
                 <label style="margin-left: 3px;" for="xc_password">$BML::ML{'/login.bml.login.password'}</label> <input type="password" name="password" size="7" tabindex="2" id="xc_password" class='lj_login_password' />
 LOGIN_BAR
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org