Commit 2373572b authored by GitLab Bot's avatar GitLab Bot

Automatic merge of gitlab-org/gitlab-ce master

parents dae9d589 5ba138b1
---
title: Remove Content-Type override for Mattermost OAuth login
merge_request:
author: Harrison Healey
type: removed
...@@ -58,6 +58,7 @@ module Gitlab ...@@ -58,6 +58,7 @@ module Gitlab
uploads uploads
users users
v2 v2
visual-review-toolbar.js
].freeze ].freeze
# This list should contain all words following `/*namespace_id/:project_id` in # This list should contain all words following `/*namespace_id/:project_id` in
......
...@@ -122,7 +122,7 @@ module Mattermost ...@@ -122,7 +122,7 @@ module Mattermost
@oauth_uri = nil @oauth_uri = nil
response = get('/oauth/gitlab/login', follow_redirects: false, format: 'text/html') response = get('/oauth/gitlab/login', follow_redirects: false)
return unless (300...400) === response.code return unless (300...400) === response.code
redirect_uri = response.headers['location'] redirect_uri = response.headers['location']
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment