增加注释

This commit is contained in:
GoEdgeLab
2021-03-28 16:22:12 +08:00
parent 22aa7129c3
commit 1b00199f37

View File

@@ -67,7 +67,7 @@ func (this *CaptchaValidator) validate(request *requests.Request, writer http.Re
http.SetCookie(writer, &http.Cookie{
Name: "TEAWEB_WAF_CAPTCHA",
Value: m + timestamp,
MaxAge: CaptchaSeconds,
MaxAge: CaptchaSeconds, // TODO 这个时间可以设置
Path: "/", // all of dirs
})