Commit a2bd5915349df10d8e1b89bb5649dab2faf7c3bf
1 parent
323089c4
Exists in
master
and in
15 other branches
Set correct header for csrf token
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
public/javascripts/application.js
@@ -579,7 +579,7 @@ jQuery(function($) { | @@ -579,7 +579,7 @@ jQuery(function($) { | ||
579 | $.ajaxSetup({ | 579 | $.ajaxSetup({ |
580 | cache: false, | 580 | cache: false, |
581 | headers: { | 581 | headers: { |
582 | - 'X-CSRF-Token': $.cookie("_noosfero_.XSRF-TOKEN") | 582 | + 'X-XSRF-TOKEN': $.cookie("_noosfero_.XSRF-TOKEN") |
583 | } | 583 | } |
584 | }); | 584 | }); |
585 | 585 |