Closed Vladimir7i closed 2 years ago
Clean up and put config on https://gist.github.com
Did you read https://docs.ejabberd.im/admin/configuration/modules/#mod-register yet?
I have default cfg from clear installation, but I can't add there:
In-band registration allows registration of any possible username.
To disable in-band registration, replace 'allow' with 'deny'.
register: all: allow
Server wont startup with this parameter, how to enable In-band registration?
pls attach config
acl:
loopback:
ip:
- 127.0.0.0/8
- ::1/128
access_rules:
trusted_network:
allow: loopback
mod_register:
## Only accept registration requests from the "trusted"
## network (see access_rules section above).
## Think twice before enabling registration from any
## address. See the Jabber SPAM Manifesto for details:
## https://github.com/ge0rg/jabber-spam-fighting-manifesto
ip_access: trusted_network
access: register
I see no errors here, you can register new users ONLY FROM 127.0.0.1 via ejabberdctl register ...
the comment is pretty clear, right?
Thanks=)
/close if fixed
Environment
erl +V
Configuration (only if needed): grep -Ev '^$|^\s*#' ejabberd.yml
Errors from error.log/crash.log
No errors
Issue description
How to enable In-Band registeration for version 22.05? I use S22.Xmpp(c#) as client for Unity(game)
In version ejabberd version: 18.09 In-Band registeration work as well, but after update to 22.05 I can't registrate user by using game client because of [Access denied by service policy]
XML body of error: