diff options
author | Joey Hess <joey@kitenet.net> | 2010-05-07 21:28:59 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-05-07 21:28:59 -0400 |
commit | 1e75389a856c8ab8e233b81fd3310169cbe8d57e (patch) | |
tree | 2a2ea3e492314edbfea3ba9b7f61d106a267f488 /IkiWiki | |
parent | dc0d48459cfc0dc53301b87c2fc98216f4dcca06 (diff) | |
download | ikiwiki-1e75389a856c8ab8e233b81fd3310169cbe8d57e.tar ikiwiki-1e75389a856c8ab8e233b81fd3310169cbe8d57e.tar.gz |
bugfix
Always load IkiWiki::CGI so its cgi_signin is present, so we replace it.
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/openid.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/openid.pm b/IkiWiki/Plugin/openid.pm index 427d61457..7e4d0844a 100644 --- a/IkiWiki/Plugin/openid.pm +++ b/IkiWiki/Plugin/openid.pm @@ -23,9 +23,9 @@ sub checkconfig () { # # When other auth hooks are registered, give the selector # a reference to the normal signin form. + require IkiWiki::CGI; my $real_cgi_signin; if (keys %{$IkiWiki::hooks{auth}} > 1) { - require IkiWiki::CGI; $real_cgi_signin=\&IkiWiki::cgi_signin; } inject(name => "IkiWiki::cgi_signin", call => sub ($$) { |