Software /
code /
prosody
Diff
plugins/mod_admin_telnet.lua @ 8201:a0ad62a269df
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 28 Aug 2017 21:05:12 +0200 |
parent | 8128:c14513401d65 |
parent | 8192:4354f556c5db |
child | 8591:0c322389f994 |
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua Fri Jul 28 23:47:38 2017 +0100 +++ b/plugins/mod_admin_telnet.lua Mon Aug 28 21:05:12 2017 +0200 @@ -1067,7 +1067,7 @@ elseif not um.user_exists(username, host) then return nil, "No such user"; end - local ok, err = um.set_password(username, password, host); + local ok, err = um.set_password(username, password, host, nil); if ok then return true, "User password changed"; else