25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Pass noauth when auth isn't provided

This commit is contained in:
Christophe Romain 2016-04-06 12:43:07 +02:00
parent 671bc4e573
commit 8a6c51290a

View File

@ -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).