diff options
author | Matthew Wild <mwild1@gmail.com> | 2017-07-28 23:47:38 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2017-07-28 23:47:38 +0100 |
commit | ab793182e77752bd08cf0347a95298312693563b (patch) | |
tree | 3d0d78194ab5828d67c07bac2f07209054155de9 /plugins/mod_register.lua | |
parent | aca11d8afe0573dd1573356bd14edd4bb823a187 (diff) | |
parent | 8049a9c15fdbf78f0284240ef532e90228e6d4ad (diff) | |
download | prosody-ab793182e77752bd08cf0347a95298312693563b.tar.gz prosody-ab793182e77752bd08cf0347a95298312693563b.zip |
Merge 0.10 -> trunk
Diffstat (limited to 'plugins/mod_register.lua')
-rw-r--r-- | plugins/mod_register.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_register.lua b/plugins/mod_register.lua index e999428d..fd5339d9 100644 --- a/plugins/mod_register.lua +++ b/plugins/mod_register.lua @@ -182,7 +182,7 @@ end local min_seconds_between_registrations = module:get_option_number("min_seconds_between_registrations"); local whitelist_only = module:get_option_boolean("whitelist_registration_only"); -local whitelisted_ips = module:get_option_set("registration_whitelist", { "127.0.0.1" })._items; +local whitelisted_ips = module:get_option_set("registration_whitelist", { "127.0.0.1", "::1" })._items; local blacklisted_ips = module:get_option_set("registration_blacklist", {})._items; local throttle_max = module:get_option_number("registration_throttle_max", min_seconds_between_registrations and 1); |