Mercurial > prosody-modules
diff mod_register_redirect/mod_register_redirect.lua @ 2729:7983335e88e9
mod_register_redirect: Add ::1 to the default registration_whitelist.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sun, 16 Jul 2017 19:28:52 +0100 |
parents | 7dbde05b48a9 |
children | ba999840f318 |
line wrap: on
line diff
--- a/mod_register_redirect/mod_register_redirect.lua Sun Jul 16 19:27:44 2017 +0100 +++ b/mod_register_redirect/mod_register_redirect.lua Sun Jul 16 19:28:52 2017 +0100 @@ -8,7 +8,7 @@ local st = require "util.stanza" local cman = configmanager -local ip_wl = module:get_option_set("registration_whitelist", { "127.0.0.1" }) +local ip_wl = module:get_option_set("registration_whitelist", { "127.0.0.1", "::1" }) local url = module:get_option_string("registration_url", nil) local inst_text = module:get_option_string("registration_text", nil) local oob = module:get_option_boolean("registration_oob", true)