--- a/plugins/mod_register.lua Sun Aug 06 13:27:47 2017 +0200
+++ b/plugins/mod_register.lua Fri Jul 28 13:15:29 2017 +0200
@@ -130,7 +130,7 @@
local password = query:get_child_text("password");
if username and password then
if username == session.username then
- if usermanager_set_password(username, password, session.host) then
+ if usermanager_set_password(username, password, session.host, session.resource) then
session.send(st.reply(stanza));
else
-- TODO unable to write file, file may be locked, etc, what's the correct error?