]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/emailauth.pm
add emailauth.tmpl
[git.ikiwiki.info.git] / IkiWiki / Plugin / emailauth.pm
index 62c9fe877d733958c56b8413a875f9385cd8e333..3946ace03aadee7b6a4d4224da6bc0535c85b75f 100644 (file)
@@ -8,7 +8,6 @@ use IkiWiki 3.00;
 
 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",
@@ -55,10 +54,4 @@ sub email_auth ($$$) {
        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