Mercurial > prosody-modules
changeset 219:6cdc313cf0eb
Merge with Zash
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 22 Jul 2010 19:14:19 +0100 |
parents | 4a91047f9b5e (diff) ac5289d5ac8c (current diff) |
children | 263858d40ceb |
files | |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_auth_external/mod_auth_external.lua Thu Jul 22 18:47:15 2010 +0200 +++ b/mod_auth_external/mod_auth_external.lua Thu Jul 22 19:14:19 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);
--- a/mod_auth_ldap/mod_auth_ldap.lua Thu Jul 22 18:47:15 2010 +0200 +++ b/mod_auth_ldap/mod_auth_ldap.lua Thu Jul 22 19:14:19 2010 +0100 @@ -48,7 +48,7 @@ log("debug", "NODEprep failed on username: %s", username); return "", nil; end - return provider.test_password(prepped_username, password, realm), true; + return provider.test_password(prepped_username, realm, password), true; end }; return new_sasl(realm, testpass_authentication_profile);