From 6a7805944309a0b402aff8c2406625e7318ac216 Mon Sep 17 00:00:00 2001 From: alteredCoder Date: Wed, 26 Jan 2022 12:32:18 +0100 Subject: [PATCH] update code --- nginx/crowdsec.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nginx/crowdsec.lua b/nginx/crowdsec.lua index f811fc4..77007a2 100644 --- a/nginx/crowdsec.lua +++ b/nginx/crowdsec.lua @@ -4,7 +4,6 @@ local config = require "plugins.crowdsec.config" local iputils = require "plugins.crowdsec.iputils" local http = require "resty.http" local cjson = require "cjson" -local template = require "resty.template.safe" local recaptcha = require "plugins.crowdsec.recaptcha" -- contain runtime = {} @@ -243,7 +242,7 @@ end function csmod.GetCaptchaTemplate() - return runtime.captcha_template + return runtime.recaptcha.GetTemplate() end