Skip to content

Commit

Permalink
Pass noauth when auth isn't provided, reverts a1129dc (processone/eja…
Browse files Browse the repository at this point in the history
  • Loading branch information
badlop committed Mar 29, 2016
1 parent e386bf6 commit 3809b89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ejabberd_ctl.erl
Expand Up @@ -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
Expand Down

0 comments on commit 3809b89

Please sign in to comment.