24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-18 22:15:20 +02:00

Change policy of user_resources command

This fixes issue #1908
This commit is contained in:
Paweł Chmielowski 2017-08-03 13:48:57 +02:00
parent 5dcc97c85a
commit 1274bcdba9

View File

@ -972,7 +972,7 @@ get_commands_spec() ->
args = [], result = {num_sessions, integer}},
#ejabberd_commands{name = user_resources, tags = [session],
desc = "List user's connected resources",
policy = user,
policy = admin,
module = ?MODULE, function = user_resources,
args = [{user, binary}, {host, binary}],
args_desc = ["User name", "Server name"],