Fix authorize URL for Gitlab OAuth

We now add the ? on the server side, so it should be removed on the client side
This commit is contained in:
Joseph Schorr 2018-05-15 18:18:48 -04:00
parent fda8d65942
commit 421f59e1ff
1 changed files with 1 additions and 1 deletions

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() {