aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-03-01 16:23:26 +0000
committerMatthew Wild <mwild1@gmail.com>2010-03-01 16:23:26 +0000
commitbd1934e306403d34aec93682f290fd06c0784348 (patch)
tree98e595822eb212740ecdaa238272d2b22a7193d8
parent2c5542977bd0a7c51d1aa3f93a5799f85a7f762d (diff)
downloadprosody-bd1934e306403d34aec93682f290fd06c0784348.tar.gz
prosody-bd1934e306403d34aec93682f290fd06c0784348.zip
mod_saslauth: Add FIXME to remind myself to fix this as soon as I have time
-rw-r--r--plugins/mod_saslauth.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua
index 0f809bd8..0cae5833 100644
--- a/plugins/mod_saslauth.lua
+++ b/plugins/mod_saslauth.lua
@@ -36,7 +36,8 @@ local xmlns_stanzas ='urn:ietf:params:xml:ns:xmpp-stanzas';
local new_sasl;
if sasl_backend == "cyrus" then
- prosody.unlock_globals();
+ prosody.unlock_globals(); --FIXME: Figure out why this is needed and
+ -- why cyrussasl isn't caught by the sandbox
local ok, cyrus = pcall(require, "util.sasl_cyrus");
prosody.lock_globals();
if ok then