Mercurial > prosody-modules
changeset 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 | 11fdfd73a527 |
children | cd828b1cb5b9 |
files | mod_register_redirect/mod_register_redirect.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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)