mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
parent
7815164216
commit
3d185c0fb8
@ -261,12 +261,12 @@ try_register(User, Server, Password) ->
|
||||
ok;
|
||||
(Mod, _) ->
|
||||
db_try_register(
|
||||
User, Server, Password, Mod)
|
||||
LUser, LServer, Password, Mod)
|
||||
end, {error, not_allowed},
|
||||
auth_modules(LServer)) of
|
||||
ok ->
|
||||
ejabberd_hooks:run(
|
||||
register_user, Server, [User, Server]);
|
||||
register_user, LServer, [LUser, LServer]);
|
||||
{error, _} = Err ->
|
||||
Err
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user