Hello prosodiers:
Today i found a problem with prosodyctl and the register function. I have a
jabber server running prosody 0.9.6 with a web interface that use prosodyctl in
order to register accounts with a browser. The problem is that prosodyctl
register doesn't take care of already registered accounts and if you try to use
it with registered accounts the behaviour is to overwrite the password with the
new one rather than throw an error.
I’m wrote a small patch to util.prosodyctl.lua in order to warn about the registered accounts, I think that patch here is the correct place, util.prosodyctl.adduser should take care of that.