plugins/mod_auth_internal_hashed.lua

changeset 3395
e736f68c1047
parent 3389
9e2485880cd6
child 3454
8cf30367aa4f
--- a/plugins/mod_auth_internal_hashed.lua	Tue Jul 20 17:42:44 2010 +0500
+++ b/plugins/mod_auth_internal_hashed.lua	Wed Jul 21 21:01:36 2010 +0100
@@ -141,7 +141,7 @@
 					log("debug", "NODEprep failed on username: %s", username);
 					return "", nil;
 				end
-				return usermanager.test_password(prepped_username, password, realm), true;
+				return usermanager.test_password(prepped_username, realm, password), true;
 			end,
 			scram_sha_1 = function(username, realm)
 				local credentials = datamanager.load(username, host, "accounts");

mercurial