Skip to content

Commit

Permalink
Pass noauth when auth isn't provided
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Romain committed May 2, 2016
1 parent 671bc4e commit 8a6c512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ejabberd_ctl.erl
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ process2(["--auth", User, Server, Pass | Args], AccessCommands, Version) ->
process2(Args, AccessCommands, {list_to_binary(User), list_to_binary(Server),
list_to_binary(Pass), true}, Version);
process2(Args, AccessCommands, Version) ->
process2(Args, AccessCommands, admin, Version).
process2(Args, AccessCommands, noauth, Version).



Expand Down

0 comments on commit 8a6c512

Please sign in to comment.