Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/boards/issues/create_service.rb')
-rw-r--r--app/services/boards/issues/create_service.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/services/boards/issues/create_service.rb b/app/services/boards/issues/create_service.rb
index 0639acfb399..e3d4da7fb07 100644
--- a/app/services/boards/issues/create_service.rb
+++ b/app/services/boards/issues/create_service.rb
@@ -30,7 +30,9 @@ module Boards
end
def create_issue(params)
- ::Issues::CreateService.new(project: project, current_user: current_user, params: params).execute
+ # NOTE: We are intentionally not doing a spam/CAPTCHA check for issues created via boards.
+ # See https://gitlab.com/gitlab-org/gitlab/-/issues/29400#note_598479184 for more context.
+ ::Issues::CreateService.new(project: project, current_user: current_user, params: params, spam_params: nil).execute
end
end
end