diff options
Diffstat (limited to 'OutboxPost.go')
-rw-r--r-- | OutboxPost.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OutboxPost.go b/OutboxPost.go index 9d7c004..6483a27 100644 --- a/OutboxPost.go +++ b/OutboxPost.go @@ -510,7 +510,7 @@ func GetActivityFromJson(r *http.Request, db *sql.DB) Activity { func CheckCaptcha(db *sql.DB, captcha string) bool { parts := strings.Split(captcha, ":") - if strings.Trim(parts[0], " ") == "" { + if strings.Trim(parts[0], " ") == "" || strings.Trim(parts[1], " ") == ""{ return false } |