25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Expose unregister API command

This commit is contained in:
Mickael Remond 2016-11-09 09:04:52 +01:00
parent 15ebb79160
commit 35506f5470
No known key found for this signature in database
GPG Key ID: E6F6045D79965AA3

View File

@ -136,6 +136,7 @@ get_commands_spec() ->
result = {res, restuple}},
#ejabberd_commands{name = unregister, tags = [accounts],
desc = "Unregister a user",
policy = admin,
module = ?MODULE, function = unregister,
args = [{user, binary}, {host, binary}],
result = {res, restuple}},