From edcba1aa277c731ae2e375a571601d527c0ff6dc Mon Sep 17 00:00:00 2001 From: Tomasz Maczukin Date: Tue, 27 Mar 2018 17:35:27 +0200 Subject: Allow HTTP(s) when git request is made by GitLab CI --- app/controllers/projects/git_http_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/projects/git_http_controller.rb') diff --git a/app/controllers/projects/git_http_controller.rb b/app/controllers/projects/git_http_controller.rb index 45910a9be44..1dcf837f78e 100644 --- a/app/controllers/projects/git_http_controller.rb +++ b/app/controllers/projects/git_http_controller.rb @@ -64,7 +64,7 @@ class Projects::GitHttpController < Projects::GitHttpClientController @access ||= access_klass.new(access_actor, project, 'http', authentication_abilities: authentication_abilities, namespace_path: params[:namespace_id], project_path: project_path, - redirected_path: redirected_path) + redirected_path: redirected_path, auth_result_type: auth_result_type) end def access_actor -- cgit v1.2.1