changeset 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 281db5eefcb4
children 4a91047f9b5e
files mod_auth_external/mod_auth_external.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);