projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configmanager: Added rawget().
[prosody.git]
/
util
/
prosodyctl.lua
diff --git
a/util/prosodyctl.lua
b/util/prosodyctl.lua
index 3e6e90eee7504a665dc5bf46e4fe61d56bd71ee3..40d21be86b617ac8a82230b88561720c28c96e10 100644
(file)
--- a/
util/prosodyctl.lua
+++ b/
util/prosodyctl.lua
@@
-41,9
+41,9
@@
function adduser(params)
end
storagemanager.initialize_host(host);
end
storagemanager.initialize_host(host);
- local ok = usermanager.create_user(user, password, host);
+ local ok
, errmsg
= usermanager.create_user(user, password, host);
if not ok then
if not ok then
- return false,
"unable-to-save-data"
;
+ return false,
errmsg
;
end
return true;
end
end
return true;
end