aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_auth_cyrus.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_auth_cyrus.lua')
-rw-r--r--plugins/mod_auth_cyrus.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_auth_cyrus.lua b/plugins/mod_auth_cyrus.lua
index 5ed124cc..7668f8c4 100644
--- a/plugins/mod_auth_cyrus.lua
+++ b/plugins/mod_auth_cyrus.lua
@@ -44,7 +44,7 @@ end
local host = module.host;
-- define auth provider
-local provider = { name = "cyrus" };
+local provider = {};
log("debug", "initializing default authentication provider for host '%s'", host);
function provider.test_password(username, password)
@@ -80,5 +80,5 @@ function provider.get_sasl_handler()
return handler;
end
-module:add_item("auth-provider", provider);
+module:provides("auth", provider);