mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Fix error message when register is forbidden by ACL (EJAB-803)
SVN Revision: 2825
This commit is contained in:
parent
0e2cd7a8d0
commit
95e96cc346
@ -210,7 +210,7 @@ try_register(User, Server, Password, Source, Lang) ->
|
||||
Access = gen_mod:get_module_opt(Server, ?MODULE, access, all),
|
||||
case acl:match_rule(Server, Access, JID) of
|
||||
deny ->
|
||||
{error, 'conflict'};
|
||||
{error, 'forbidden'};
|
||||
allow ->
|
||||
case check_timeout(Source) of
|
||||
true ->
|
||||
|
Loading…
Reference in New Issue
Block a user