Skip to content
Snippets Groups Projects
Commit 0f54e2ae authored by Patricio Cano's avatar Patricio Cano
Browse files

Render the status message with `plain:` so that the message gets passed to the Git client.

parent 08018b7a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -157,7 +157,7 @@ class Projects::GitHttpController < Projects::ApplicationController
end
 
def render_not_allowed
render json: access.to_json, status: :forbidden
render plain: access.message, status: :forbidden
end
 
def ci?
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment