增加注释

This commit is contained in:
刘祥超
2021-03-28 16:22:12 +08:00
parent 13674e5d63
commit 69a959eeff

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
})