diff -r b446de4e258e -r 5d861d6e5bbd plugins/mod_saslauth.lua --- a/plugins/mod_saslauth.lua Sun Nov 16 02:10:01 2008 +0500 +++ b/plugins/mod_saslauth.lua Sat Nov 15 22:30:09 2008 +0100 @@ -3,6 +3,7 @@ local send = require "core.sessionmanager".send_to_session; local sm_bind_resource = require "core.sessionmanager".bind_resource; local jid +local base64 = require "base64" local usermanager_validate_credentials = require "core.usermanager".validate_credentials; local t_concat, t_insert = table.concat, table.insert; @@ -101,7 +102,7 @@ t_insert(features, ""); -- TODO: Provide PLAIN only if TLS is active, this is a SHOULD from the introduction of RFC 4616. This behavior could be overridden via configuration but will issuing a warning or so. t_insert(features, "PLAIN"); - -- t_insert(features, "DIGEST-MD5"); + t_insert(features, "DIGEST-MD5"); t_insert(features, ""); else t_insert(features, "");