From f46c35f46f29f56ffb701e6db8e5dc645162da07 Mon Sep 17 00:00:00 2001 From: joey Date: Mon, 30 Apr 2007 21:10:14 +0000 Subject: [PATCH] correct size of name field in initial login form (same size as password) --- IkiWiki/Plugin/passwordauth.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")); } -- 2.26.2