]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
correct size of name field in initial login form (same size as password)
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 30 Apr 2007 21:10:14 +0000 (21:10 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 30 Apr 2007 21:10:14 +0000 (21:10 +0000)
IkiWiki/Plugin/passwordauth.pm

index d1a965dc889c144f62a01bcba826ae192ec37b10..86a5ba49e964fd6456a4249e0b82ae4dff9e6c0d 100644 (file)
@@ -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"));
                        }