diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-08-23 16:28:06 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-08-23 16:28:06 +0500 |
commit | 5207cd874e7e1f5f197876129c32998db3a4deec (patch) | |
tree | bf285c08dfc627e40420ee7fac4fcb9dcc56b396 | |
parent | f17ecb66bc96463cc370c12933e5ce9066d80164 (diff) | |
download | prosody-5207cd874e7e1f5f197876129c32998db3a4deec.tar.gz prosody-5207cd874e7e1f5f197876129c32998db3a4deec.zip |
mod_saslauth: Get rid of the sasl_backend option (use auth modules instead).
-rw-r--r-- | plugins/mod_saslauth.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua index ccdfde76..78420212 100644 --- a/plugins/mod_saslauth.lua +++ b/plugins/mod_saslauth.lua @@ -20,7 +20,6 @@ local t_concat, t_insert = table.concat, table.insert; local tostring = tostring; local secure_auth_only = module:get_option("c2s_require_encryption") or module:get_option("require_encryption"); -local sasl_backend = module:get_option("sasl_backend") or "builtin"; local anonymous_login = module:get_option("anonymous_login"); local allow_unencrypted_plain_auth = module:get_option("allow_unencrypted_plain_auth") @@ -34,10 +33,6 @@ local xmlns_bind ='urn:ietf:params:xml:ns:xmpp-bind'; local xmlns_stanzas ='urn:ietf:params:xml:ns:xmpp-stanzas'; local new_sasl = require "util.sasl".new; -if sasl_backend ~= "builtin" then - module:log("error", "Unknown SASL backend: %s", sasl_backend); - error("Unknown SASL backend"); -end local anonymous_authentication_profile = { anonymous = function(username, realm) |