diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-18 09:07:38 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-18 09:07:38 +0000 |
commit | 1a9d9cc14ec54036548824e3ce17da03960f5f81 (patch) | |
tree | 4b93fa74f393a1978ea9c2628516eb4a449b8704 /app/controllers/graphql_controller.rb | |
parent | dad534d98a3f86bfa079b7ebd980448641cc9c7c (diff) | |
download | gitlab-ce-1a9d9cc14ec54036548824e3ce17da03960f5f81.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers/graphql_controller.rb')
-rw-r--r-- | app/controllers/graphql_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/graphql_controller.rb b/app/controllers/graphql_controller.rb index 72d40f709e6..d7ff2ded5ae 100644 --- a/app/controllers/graphql_controller.rb +++ b/app/controllers/graphql_controller.rb @@ -3,6 +3,7 @@ class GraphqlController < ApplicationController # Unauthenticated users have access to the API for public data skip_before_action :authenticate_user! + skip_around_action :set_session_storage # Allow missing CSRF tokens, this would mean that if a CSRF is invalid or missing, # the user won't be authenticated but can proceed as an anonymous user. |