mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Fix anonymous user login, it wasn't stored in anonymous mnesia table
This commit is contained in:
parent
100827ec6e
commit
9a802185ad
@ -141,7 +141,7 @@ remove_connection(SID, LUser, LServer) ->
|
||||
%% Register connection
|
||||
register_connection(SID,
|
||||
#jid{luser = LUser, lserver = LServer}, Info) ->
|
||||
AuthModule = list_to_atom(binary_to_list(xml:get_attr_s(<<"auth_module">>, Info))),
|
||||
AuthModule = xml:get_attr_s(auth_module, Info),
|
||||
case AuthModule == (?MODULE) of
|
||||
true ->
|
||||
ejabberd_hooks:run(register_user, LServer,
|
||||
|
Loading…
Reference in New Issue
Block a user