mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-12 21:52:07 +02:00
Expose unregister API command
This commit is contained in:
parent
15ebb79160
commit
35506f5470
|
@ -136,6 +136,7 @@ get_commands_spec() ->
|
||||||
result = {res, restuple}},
|
result = {res, restuple}},
|
||||||
#ejabberd_commands{name = unregister, tags = [accounts],
|
#ejabberd_commands{name = unregister, tags = [accounts],
|
||||||
desc = "Unregister a user",
|
desc = "Unregister a user",
|
||||||
|
policy = admin,
|
||||||
module = ?MODULE, function = unregister,
|
module = ?MODULE, function = unregister,
|
||||||
args = [{user, binary}, {host, binary}],
|
args = [{user, binary}, {host, binary}],
|
||||||
result = {res, restuple}},
|
result = {res, restuple}},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user