aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/openid.pm
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2015-05-13 17:51:29 -0400
committerJoey Hess <joeyh@joeyh.name>2015-05-13 17:51:29 -0400
commit7765941011a78e8062bc76ae3daba9aa56d279c8 (patch)
treeb64077c8e8bb4971863f4f6e3e0135aa1c6b9a06 /IkiWiki/Plugin/openid.pm
parentab4d9a54677c2c17b186048ba5d86986a161bcef (diff)
downloadikiwiki-7765941011a78e8062bc76ae3daba9aa56d279c8.tar
ikiwiki-7765941011a78e8062bc76ae3daba9aa56d279c8.tar.gz
further generalization of openid selector
Now template variables can be set to control which login methods are shown
Diffstat (limited to 'IkiWiki/Plugin/openid.pm')
-rw-r--r--IkiWiki/Plugin/openid.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/openid.pm b/IkiWiki/Plugin/openid.pm
index bfd130ace..b8ebbe228 100644
--- a/IkiWiki/Plugin/openid.pm
+++ b/IkiWiki/Plugin/openid.pm
@@ -89,6 +89,8 @@ sub openid_selector {
(defined $openid_url ? (openid_url => $openid_url) : ()),
($real_cgi_signin ? (otherform => $real_cgi_signin->($q, $session, 1)) : ()),
otherform_label => $otherform_label,
+ login_selector_openid => 1,
+ login_selector_email => 1,
);
IkiWiki::printheader($session);