aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/emailauth.pm
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin/emailauth.pm')
-rw-r--r--IkiWiki/Plugin/emailauth.pm7
1 files changed, 0 insertions, 7 deletions
diff --git a/IkiWiki/Plugin/emailauth.pm b/IkiWiki/Plugin/emailauth.pm
index 62c9fe877..3946ace03 100644
--- a/IkiWiki/Plugin/emailauth.pm
+++ b/IkiWiki/Plugin/emailauth.pm
@@ -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