summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorStanislaw Wozniak <swozniak@sponte.uk>2017-12-18 11:15:41 +0000
committerSean McGivern <sean@mcgivern.me.uk>2017-12-18 11:15:41 +0000
commit48cb9fa8104c3b001856ebc0521bb52e0a6d7739 (patch)
treee3aed831ae96996a5dc2d33f9dc61927e678a119 /app/models
parentb4ea25cafa0c7768a8618c673f9a1830f27fc950 (diff)
downloadgitlab-ce-48cb9fa8104c3b001856ebc0521bb52e0a6d7739.tar.gz
Fixes 40842 - Adds extra cookies to JIRA service requests
Diffstat (limited to 'app/models')
-rw-r--r--app/models/project_services/jira_service.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/project_services/jira_service.rb b/app/models/project_services/jira_service.rb
index 1c065e1ddbd..2be35b6ea9d 100644
--- a/app/models/project_services/jira_service.rb
+++ b/app/models/project_services/jira_service.rb
@@ -46,6 +46,8 @@ class JiraService < IssueTrackerService
context_path: url.path,
auth_type: :basic,
read_timeout: 120,
+ use_cookies: true,
+ additional_cookies: ['OBBasicAuth=fromDialog'],
use_ssl: url.scheme == 'https'
}
end