mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Fix anonymous auth
This commit is contained in:
parent
5efcf0a175
commit
d5c29360fb
@ -49,5 +49,5 @@ mech_step(#state{server = Server} = S, ClientIn) ->
|
||||
randoms:get_string()]),
|
||||
case ejabberd_auth:is_user_exists(User, Server) of
|
||||
true -> mech_step(S, ClientIn);
|
||||
false -> {ok, [{username, User}, {auth_module, ejabberd_auth_anonymous}]}
|
||||
false -> {ok, [{username, User}, {authzid, User}, {auth_module, ejabberd_auth_anonymous}]}
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user