Commit 61ea0e1a authored by Harrison Healey's avatar Harrison Healey

Remove Content-Type override for Mattermost OAuth login

parent 0c63ad85
---
title: Remove Content-Type override for Mattermost OAuth login
merge_request:
author: Harrison Healey
type: removed
...@@ -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']
......
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