From 3e42ce191ed9a72ed8aa69ee7819a20bb4d23048 Mon Sep 17 00:00:00 2001 From: FChannel <=> Date: Tue, 2 Feb 2021 23:28:35 -0800 Subject: added rules.html and faq.html change to fit your own instance specs. --- OutboxPost.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OutboxPost.go') 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 } -- cgit v1.2.3