hook(type => "auth", id => "openid", call => \&auth);
hook(type => "formbuilder_setup", id => "openid",
call => \&formbuilder_setup, last => 1);
+ IkiWiki::loadplugin("emailauth");
IkiWiki::loadplugin("loginselector");
IkiWiki::Plugin::loginselector::register_login_plugin(
"openid",
defined $q->param("action") && $q->param("action") eq "verify" && defined $openid_url && length $openid_url;
}
-sub openid_auth ($$$) {
+sub openid_auth ($$$$) {
my $q=shift;
my $session=shift;
my $errordisplayer=shift;