diff options
author | Stanislaw Wozniak <swozniak@sponte.uk> | 2017-12-18 11:15:41 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-12-18 11:15:41 +0000 |
commit | 48cb9fa8104c3b001856ebc0521bb52e0a6d7739 (patch) | |
tree | e3aed831ae96996a5dc2d33f9dc61927e678a119 /app/models | |
parent | b4ea25cafa0c7768a8618c673f9a1830f27fc950 (diff) | |
download | gitlab-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.rb | 2 |
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 |