diff mod_auth_external/mod_auth_external.lua @ 217:3da3d6480e65

mod_auth_external: Update for new usermanager.test_password syntax
author Matthew Wild <mwild1@gmail.com>
date Wed, 21 Jul 2010 21:03:36 +0100
parents 2686221255cf
children 4c3abf1a9b5a
line wrap: on
line diff
--- a/mod_auth_external/mod_auth_external.lua	Fri Jul 16 10:02:31 2010 -0700
+++ b/mod_auth_external/mod_auth_external.lua	Wed Jul 21 21:03:36 2010 +0100
@@ -119,7 +119,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,
 		};
 		return new_sasl(realm, testpass_authentication_profile);