Changeset

1484:80e4f1d731c2

Fixed decoding of parameters.
author Tobias Markmann <tm@ayena.de>
date Sun, 05 Jul 2009 18:59:46 +0200
parents 1449:6a90316a81c3
children 1485:fbefd16d2955
files plugins/mod_saslauth.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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