aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/emailauth.pm
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2015-05-13 18:52:47 -0400
committerJoey Hess <joeyh@joeyh.name>2015-05-13 18:54:13 -0400
commit035c1a24499e3ba2c0301337160d63b69d9e5376 (patch)
tree03fad21f930b9c607e3bf98bdfc3abe671140080 /IkiWiki/Plugin/emailauth.pm
parente34533d1a0e0fc90a669f7cb3c11cafc6b285b26 (diff)
downloadikiwiki-035c1a24499e3ba2c0301337160d63b69d9e5376.tar
ikiwiki-035c1a24499e3ba2c0301337160d63b69d9e5376.tar.gz
move stub auth hook to loginselector
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