diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/prosodyctl.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/util/prosodyctl.lua b/util/prosodyctl.lua index 4c6b6ea4..3b523a78 100644 --- a/util/prosodyctl.lua +++ b/util/prosodyctl.lua @@ -19,7 +19,10 @@ function adduser(params) return false, "invalid-hostname"; end - usermanager.create_user(user, password, host); + local ok = usermanager.create_user(user, password, host); + if not ok then + return false, "unable-to-save-data"; + end return true; end |