]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/passwordauth.pm
I don't think this comment adds much
[ikiwiki.git] / IkiWiki / Plugin / passwordauth.pm
index 131b3a43e16f2d935067a10dbe3a7aa8b76ea09e..d1a965dc889c144f62a01bcba826ae192ec37b10 100644 (file)
@@ -101,17 +101,20 @@ sub formbuilder_setup (@) { #{{{
                }
                else {
                        # First time settings.
-                       $form->field(name => "name", comment => gettext("(use FirstnameLastName)"));
+                       $form->field(name => "name", size => 30);
                        if ($session->param("name")) {
                                $form->field(name => "name", value => $session->param("name"));
                        }
                }
        }
        elsif ($form->title eq "preferences") {
-               $form->field(name => "name", disabled => 1, value =>
-                       $session->param("name"), force => 1);
-               $form->field(name => "password", type => "password");
+               $form->field(name => "name", disabled => 1, 
+                       value => $session->param("name"), force => 1,
+                       fieldset => "login");
+               $form->field(name => "password", type => "password",
+                       fieldset => "login");
                $form->field(name => "confirm_password", type => "password",
+                       fieldset => "login",
                        validate => sub {
                                shift eq $form->field("password");
                        });