Software /
code /
prosody
Changeset
3466:4add4f9ca409
usermanager: Get rid unused Cyrus SASL related code.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Mon, 23 Aug 2010 16:33:49 +0500 |
parents | 3465:b6db1a8a78bb |
children | 3467:c9f4c3aa14a1 |
files | core/usermanager.lua |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/core/usermanager.lua Mon Aug 23 16:31:44 2010 +0500 +++ b/core/usermanager.lua Mon Aug 23 16:33:49 2010 +0500 @@ -18,8 +18,6 @@ local hosts = hosts; local sasl_new = require "util.sasl".new; -local require_provisioning = config.get("*", "core", "cyrus_require_provisioning") or false; - local prosody = _G.prosody; local setmetatable = setmetatable; @@ -61,8 +59,6 @@ prosody.events.add_handler("host-activated", initialize_host, 100); prosody.events.add_handler("component-activated", initialize_host, 100); -function is_cyrus(host) return config.get(host, "core", "sasl_backend") == "cyrus"; end - function test_password(username, host, password) return hosts[host].users.test_password(username, password); end