From d3d27ea2075e106c65c193ebb6dbc6ae1b2bafd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Fri, 4 Sep 2015 22:33:57 +0200 Subject: [PATCH] Remove unused CSRF data in js data view --- app/views/rb_server_variables/show.js.erb | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/views/rb_server_variables/show.js.erb b/app/views/rb_server_variables/show.js.erb index a48789d7bb..2c7692b287 100644 --- a/app/views/rb_server_variables/show.js.erb +++ b/app/views/rb_server_variables/show.js.erb @@ -37,9 +37,6 @@ See doc/COPYRIGHT.rdoc for more details. RB.constants = { project_id: <%= @project.id %>, sprint_id: <%= @sprint ? @sprint.id : "null" %>, - protect_against_forgery: <%= protect_against_forgery? ? "true" : "false" %>, - request_forgery_protection_token: '<%= request_forgery_protection_token %>', - form_authenticity_token: '<%= form_authenticity_token %>' }; RB.i18n = {