From: joey Date: Mon, 30 Apr 2007 21:10:14 +0000 (+0000) Subject: correct size of name field in initial login form (same size as password) X-Git-Tag: 2.1~115 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f46c35f46f29f56ffb701e6db8e5dc645162da07;p=ikiwiki.git correct size of name field in initial login form (same size as password) --- diff --git a/IkiWiki/Plugin/passwordauth.pm b/IkiWiki/Plugin/passwordauth.pm index d1a965dc8..86a5ba49e 100644 --- a/IkiWiki/Plugin/passwordauth.pm +++ b/IkiWiki/Plugin/passwordauth.pm @@ -21,7 +21,7 @@ sub formbuilder_setup (@) { #{{{ my $cgi=$params{cgi}; if ($form->title eq "signin" || $form->title eq "register") { - $form->field(name => "name", required => 0, size => 50); + $form->field(name => "name", required => 0); $form->field(name => "password", type => "password", required => 0); if ($form->submitted eq "Register" || $form->submitted eq "Create Account") { @@ -101,7 +101,7 @@ sub formbuilder_setup (@) { #{{{ } else { # First time settings. - $form->field(name => "name", size => 30); + $form->field(name => "name"); if ($session->param("name")) { $form->field(name => "name", value => $session->param("name")); }