Software /
code /
prosody
Changeset
3204:7a15cbf23c5b
Fix missing parameter in mod_auth_internal_hashed.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 09 Jun 2010 03:41:24 +0200 |
parents | 3203:ba5388966742 |
children | 3214:a69d8021b1db |
files | plugins/mod_auth_internal_hashed.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_auth_internal_hashed.lua Wed Jun 09 01:11:46 2010 +0100 +++ b/plugins/mod_auth_internal_hashed.lua Wed Jun 09 03:41:24 2010 +0200 @@ -121,7 +121,7 @@ scram_sha_1 = function(username, realm) local credentials = datamanager.load(username, host, "accounts") or {}; if credentials.password then - usermanager.set_password(username, credentials.password); + usermanager.set_password(username, credentials.password, host); credentials = datamanager.load(username, host, "accounts") or {}; end local salted_password, iteration_count, salt = credentials.hashpass, credentials.iteration_count, credentials.salt;