Commit bab9a10a authored by Jan Provaznik's avatar Jan Provaznik

Merge branch 'mm12935' into 'master'

Remove Content-Type override for Mattermost OAuth login

Closes #46810

See merge request gitlab-org/gitlab-ce!28374
parents 941f37e9 61ea0e1a
---
title: Remove Content-Type override for Mattermost OAuth login
merge_request:
author: Harrison Healey
type: removed
......@@ -122,7 +122,7 @@ module Mattermost
@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
redirect_uri = response.headers['location']
......
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