Commit c7d9d462 authored by James Edwards-Jones's avatar James Edwards-Jones

Avoid setting Gitlab::Session on Git HTTP requests

parent 866f544c
...@@ -15,6 +15,7 @@ class Projects::GitHttpClientController < Projects::ApplicationController ...@@ -15,6 +15,7 @@ class Projects::GitHttpClientController < Projects::ApplicationController
alias_method :authenticated_user, :actor alias_method :authenticated_user, :actor
# Git clients will not know what authenticity token to send along # Git clients will not know what authenticity token to send along
skip_around_action :set_session_storage
skip_before_action :verify_authenticity_token skip_before_action :verify_authenticity_token
skip_before_action :repository skip_before_action :repository
before_action :authenticate_user before_action :authenticate_user
......
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