formatting
[ikiwiki.git] / IkiWiki / Plugin / openid.pm
index 7ea67c5ca4a34aeaac6f17d0fe23137878fb80e4..75f13f878626e5b86cf632e13053170aa03facdb 100644 (file)
@@ -56,6 +56,12 @@ sub formbuilder_setup (@) { #{{{
                        }
                }
        }
+       elsif ($form->title eq "preferences") {
+               if (! defined $form->field(name => "name")) {
+                       $form->field(name => "OpenID", disabled => 1, value =>
+                               $session->param("name"), size => 30, force => 1);
+               }
+       }
 }
 
 sub validate ($$$;$) { #{{{