diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-05-13 17:51:29 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-05-13 17:51:29 -0400 |
commit | 7765941011a78e8062bc76ae3daba9aa56d279c8 (patch) | |
tree | b64077c8e8bb4971863f4f6e3e0135aa1c6b9a06 /IkiWiki/Plugin | |
parent | ab4d9a54677c2c17b186048ba5d86986a161bcef (diff) | |
download | ikiwiki-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')
-rw-r--r-- | IkiWiki/Plugin/openid.pm | 2 |
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); |