diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-01 18:29:25 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-01 18:29:36 +0000 |
commit | cf599b3cb9210c48820e7d88c4393303aa28826e (patch) | |
tree | 1a5af24f92aec8d50ae770eb251fe4c29f944b9d /app/models/integration.rb | |
parent | 165c4fb3de28c1b03b1d3a5e05b8962b73eea228 (diff) | |
download | gitlab-ce-cf599b3cb9210c48820e7d88c4393303aa28826e.tar.gz |
Add latest changes from gitlab-org/security/gitlab@15-8-stable-ee
Diffstat (limited to 'app/models/integration.rb')
-rw-r--r-- | app/models/integration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/integration.rb b/app/models/integration.rb index 54eeab10360..4e5c90bffa1 100644 --- a/app/models/integration.rb +++ b/app/models/integration.rb @@ -510,7 +510,7 @@ class Integration < ApplicationRecord end def api_field_names - fields.reject { _1[:type] == 'password' }.pluck(:name) + fields.reject { _1[:type] == 'password' || _1[:name] == 'webhook' }.pluck(:name) end def form_fields |