Software /
code /
prosody
Diff
core/usermanager.lua @ 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 |
parent | 3419:79e08dc3fd37 |
child | 3540:bc139431830b |
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