Commit 0f54e2ae authored by Patricio Cano's avatar Patricio Cano

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

parent 08018b7a
......@@ -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?
......
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