mod_register_redirect: Add ::1 to the default registration_whitelist.

Sun, 16 Jul 2017 19:28:52 +0100

author
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date
Sun, 16 Jul 2017 19:28:52 +0100
changeset 2729
7983335e88e9
parent 2728
11fdfd73a527
child 2730
cd828b1cb5b9

mod_register_redirect: Add ::1 to the default registration_whitelist.

mod_register_redirect/mod_register_redirect.lua file | annotate | diff | comparison | revisions
--- 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)

mercurial