aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2012-12-04 13:59:19 -0400
committerJoey Hess <joey@kitenet.net>2012-12-04 13:59:19 -0400
commitc29413ba2a7dd4236efc75be92de82d452557c7b (patch)
treee97441b645459571966f785e4f2726cf812f7349 /IkiWiki
parentc2b6612bfb87c0c1547d4de5d96645749a023af5 (diff)
downloadikiwiki-c29413ba2a7dd4236efc75be92de82d452557c7b.tar
ikiwiki-c29413ba2a7dd4236efc75be92de82d452557c7b.tar.gz
openid: Display openid in Preferences page as a comment, so it can be selected in all browsers.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/openid.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/openid.pm b/IkiWiki/Plugin/openid.pm
index b6642619a..40a956849 100644
--- a/IkiWiki/Plugin/openid.pm
+++ b/IkiWiki/Plugin/openid.pm
@@ -100,9 +100,10 @@ sub formbuilder_setup (@) {
IkiWiki::openiduser($session->param("name"))) {
$form->field(name => "openid_identifier", disabled => 1,
label => htmllink("", "", "ikiwiki/OpenID", noimageinline => 1),
- value => $session->param("name"),
- size => length($session->param("name")), force => 1,
- fieldset => "login");
+ value => "",
+ size => 1, force => 1,
+ fieldset => "login",
+ comment => $session->param("name"));
$form->field(name => "email", type => "hidden");
}
}