mod_register_redirect/mod_register_redirect.lua
changeset 2733 7983335e88e9
parent 1343 7dbde05b48a9
child 2788 ba999840f318
--- 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)