Archived
1
0
This commit is contained in:
Jeff Becker 2019-02-19 08:52:51 -05:00
parent 9d43d84926
commit a00630a6b3
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -555,7 +555,7 @@ func (self *httpFrontend) handle_postform(wr http.ResponseWriter, r *http.Reques
} }
sess.Values["captcha_id"] = "" sess.Values["captcha_id"] = ""
} }
log.Println("captcha", captcha_id, "try '", captcha_solution, "'")
if checkCaptcha && !captcha.VerifyString(captcha_id, captcha_solution) { if checkCaptcha && !captcha.VerifyString(captcha_id, captcha_solution) {
// captcha is not valid // captcha is not valid
captcha_retry = true captcha_retry = true