Fixed decoding of parameters.
--- a/plugins/mod_saslauth.lua Wed Jul 01 15:14:44 2009 +0200
+++ b/plugins/mod_saslauth.lua Sun Jul 05 18:59:46 2009 +0200
@@ -72,7 +72,7 @@
if mechanism == "PLAIN" then
return func, password;
elseif mechanism == "DIGEST-MD5" then
- if decoder then node, hostname, password = decoder(node), decoder(hostname), decoder(password); end
+ if decoder then node, realm, password = decoder(node), decoder(realm), decoder(password); end
return func, md5(node..":"..realm..":"..password);
end
end