summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/openid.pm2
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 ($$) {