mod_register

Enabling this module allows users to register new accounts and change passwords.

Details

mod_register implements XEP-0077. User passwords can be changed even if new user registration is disabled.

Usage

Configuration

Option Default Notes
allow_registration false Whether to allow registration of new accounts via Jabber clients
registration_blacklist { } List of IP addresses to deny registration
registration_whitelist { } List of IP addresses to allow registration (bypassing all throttling and limits)
whitelist_registration_only false Whether to only allow IPs in registration_whitelist to register
min_seconds_between_registrations nil The number of seconds a client at a particular IP address must wait before it can register another account
registration_throttle_max nil Defaults to 1 if min_seconds_between_registrations is set, otherwise unset. New in 0.10
registration_throttle_period nil Defaults to the same value as min_seconds_between_registrations. New in 0.10
registration_throttle_cache_size 100 How many IP addresses to keep track of for throttling. New in 0.10
blacklist_on_registration_throttle_overload false Determines behavior if the above cache overflows. If true and the IP is still over the limit, add it to the registration blacklist. New in 0.10

Example