update code
This commit is contained in:
parent
572dcca545
commit
6a78059443
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue