25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Don't enable in-band registration by default

This commit is contained in:
Holger Weiss 2016-03-11 12:31:16 +01:00
parent 1336c6c9fa
commit 0d1edc4771

View File

@ -616,45 +616,39 @@ modules:
- "flat" - "flat"
- "hometree" - "hometree"
- "pep" # pep requires mod_caps - "pep" # pep requires mod_caps
mod_register: ## mod_register:
## ##
## Protect In-Band account registrations with CAPTCHA. ## Protect In-Band account registrations with CAPTCHA.
## ##
## captcha_protected: true ## captcha_protected: true
## ##
## Set the minimum informational entropy for passwords. ## Set the minimum informational entropy for passwords.
## ##
## password_strength: 32 ## password_strength: 32
## ##
## After successful registration, the user receives ## After successful registration, the user receives
## a message with this subject and body. ## a message with this subject and body.
## ##
welcome_message: ## welcome_message:
subject: "Welcome!" ## subject: "Welcome!"
body: |- ## body: |-
Hi. ## Hi.
Welcome to this XMPP server. ## Welcome to this XMPP server.
## ##
## When a user registers, send a notification to ## When a user registers, send a notification to
## these XMPP accounts. ## these XMPP accounts.
## ##
## registration_watchers: ## registration_watchers:
## - "admin1@example.org" ## - "admin1@example.org"
## ##
## Only clients in the server machine can register accounts ## Only clients in the server machine can register accounts
## ##
ip_access: trusted_network ## ip_access: trusted_network
## ##
## Local c2s or remote s2s users cannot register accounts ## Local c2s or remote s2s users cannot register accounts
## ##
## access_from: deny ## access_from: deny
## access: register
access: register
mod_roster: {} mod_roster: {}
mod_shared_roster: {} mod_shared_roster: {}
mod_stats: {} mod_stats: {}