mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +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