aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 2e2bc0f..43ea539 100644
--- a/main.go
+++ b/main.go
@@ -789,7 +789,7 @@ func main() {
return
}
- if(!CheckCaptcha(db, captcha)) {
+ if(close != "1" && !CheckCaptcha(db, captcha)) {
w.WriteHeader(http.StatusBadRequest)
w.Write([]byte("captcha required"))
return