Merge pull request #3084 from quay/fix-authorize-url

Fix authorize URL for Gitlab OAuth
This commit is contained in:
josephschorr 2018-05-15 18:31:48 -04:00 committed by GitHub
commit 42d749a634
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,7 +84,7 @@ angular.module('quay').factory('TriggerService', ['UtilService', '$sanitize', 'K
var authorize_url = KeyService['gitlabTriggerAuthorizeUrl'];
var client_id = KeyService['gitlabTriggerClientId'];
return authorize_url + '?client_id=' + client_id + '&redirect_uri=' + redirect_uri + '&response_type=code&state=repo:' + namespace + '/' + repository;
return authorize_url + 'client_id=' + client_id + '&redirect_uri=' + redirect_uri + '&response_type=code&state=repo:' + namespace + '/' + repository;
},
'is_external': false,
'is_enabled': function() {