mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
usermanager, mod_auth_internal_hashed, mod_legacyauth: New order of parameters for usermanager.test_password - username, host, password
This commit is contained in:
parent
d01c84cfa1
commit
a6e1eb7590
3 changed files with 3 additions and 3 deletions
|
@ -141,7 +141,7 @@ function new_hashpass_provider(host)
|
|||
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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue