summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2019-06-03 13:02:39 +0100
committerWinnie Hellmann <winnie@gitlab.com>2019-08-20 15:16:29 +0200
commite4175277c8858998e7116506160af50d88cb2225 (patch)
tree8d08d16b4bfe168760c8b3d0f202face312dc685
parent9029ee3b15151b183b1e472f53a7a9e15263fcf1 (diff)
downloadgitlab-ce-winh-confidential-issue-recaptcha.tar.gz
Force spam checks to fail and show a captchwinh-confidential-issue-recaptcha
(cherry picked from commit 346f83409929784737c2103f7cf6f9d0022b79d9)
-rw-r--r--app/services/spam_service.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/services/spam_service.rb b/app/services/spam_service.rb
index f2f133dae28..9d8b4dafe39 100644
--- a/app/services/spam_service.rb
+++ b/app/services/spam_service.rb
@@ -47,8 +47,6 @@ class SpamService
def check(api)
return false unless request && check_for_spam?
- return false unless akismet.spam?
-
create_spam_log(api)
true
end