--- a/mod_register_redirect/mod_register_redirect.lua Thu Oct 05 15:59:54 2017 +0100
+++ b/mod_register_redirect/mod_register_redirect.lua Fri Oct 06 19:45:38 2017 +0200
@@ -6,7 +6,7 @@
-- Redirects IP addresses not in the whitelist to a web page or another method to complete the registration.
local st = require "util.stanza"
-local cman = configmanager
+local cman = require "core.configmanager"
local ip_wl = module:get_option_set("registration_whitelist", { "127.0.0.1", "::1" })
local url = module:get_option_string("registration_url", nil)