mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Pass noauth when auth isn't provided, reverts a1129dc
(processone/ejabberd-contrib#159)
This commit is contained in:
parent
e386bf6b58
commit
3809b898aa
@ -214,7 +214,7 @@ process(Args) ->
|
||||
process2(["--auth", User, Server, Pass | Args], AccessCommands) ->
|
||||
process2(Args, {list_to_binary(User), list_to_binary(Server), list_to_binary(Pass), true}, AccessCommands);
|
||||
process2(Args, AccessCommands) ->
|
||||
process2(Args, admin, AccessCommands).
|
||||
process2(Args, noauth, AccessCommands).
|
||||
|
||||
process2(Args, Auth, AccessCommands) ->
|
||||
case try_run_ctp(Args, Auth, AccessCommands) of
|
||||
|
Loading…
Reference in New Issue
Block a user