update code

This commit is contained in:
alteredCoder 2022-01-26 12:32:18 +01:00
parent 572dcca545
commit 6a78059443

View file

@ -4,7 +4,6 @@ local config = require "plugins.crowdsec.config"
local iputils = require "plugins.crowdsec.iputils" local iputils = require "plugins.crowdsec.iputils"
local http = require "resty.http" local http = require "resty.http"
local cjson = require "cjson" local cjson = require "cjson"
local template = require "resty.template.safe"
local recaptcha = require "plugins.crowdsec.recaptcha" local recaptcha = require "plugins.crowdsec.recaptcha"
-- contain runtime = {} -- contain runtime = {}
@ -243,7 +242,7 @@ end
function csmod.GetCaptchaTemplate() function csmod.GetCaptchaTemplate()
return runtime.captcha_template return runtime.recaptcha.GetTemplate()
end end