Changeset

3464:72cd7a785014

mod_saslauth: Get rid of the sasl_backend option (use auth modules instead).
author Waqas Hussain <waqas20@gmail.com>
date Mon, 23 Aug 2010 16:28:06 +0500
parents 3463:1644ab13a4ca
children 3465:b6db1a8a78bb
files plugins/mod_saslauth.lua
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_saslauth.lua	Mon Aug 23 16:22:58 2010 +0500
+++ b/plugins/mod_saslauth.lua	Mon Aug 23 16:28:06 2010 +0500
@@ -20,7 +20,6 @@
 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_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)