# HG changeset patch # User Emmanuel Gil Peyrot # Date 1500229732 -3600 # Node ID 7983335e88e94f40dbaf4bf613bbe83c2cf5e31a # Parent 11fdfd73a527c1889b58c33c46f662e117f5c75f mod_register_redirect: Add ::1 to the default registration_whitelist. diff -r 11fdfd73a527 -r 7983335e88e9 mod_register_redirect/mod_register_redirect.lua --- 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)