sub import {
hook(type => "getsetup", id => "emailauth", "call" => \&getsetup);
- hook(type => "auth", id => "emailauth", call => \&auth);
IkiWiki::loadplugin("loginselector");
IkiWiki::Plugin::loginselector::register_login_plugin(
"emailauth",
error "EMAIL AUTH";
}
-sub auth ($$) {
- # While this hook is not currently used, it needs to exist
- # so ikiwiki knows that the wiki supports logins, and will
- # enable the Preferences page.
-}
-
1