Update anti_ddos_challenge.lua

Reinstate variable that originaly was there but got accidently removed in last patch.
This commit is contained in:
C0nw0nk
2020-01-04 12:13:35 +00:00
committed by GitHub
parent 90397bcf35
commit 43693ba2be

View File

@ -486,6 +486,7 @@ local function grant_access()
local cookie_value = ngx.var[cookie_name] or ""
--our start date cookie
local cookie_name_start_date_name = "cookie_" .. cookie_name_start_date
local cookie_name_start_date_value = ngx.var[cookie_name_start_date_name] or ""
local cookie_name_start_date_value_unix = tonumber(cookie_name_start_date_value)
--our end date cookie
local cookie_name_end_date_name = "cookie_" .. cookie_name_end_date