Commit
a2bd5915349df10d8e1b89bb5649dab2faf7c3bf
Exists in
staging
and in
37 other branches
all_pending_tasks_api, api-articles-period, api_roles, caching-rails4, comments_permissions, elasticsearch, elasticsearch_api, elasticsearch_categories, elasticsearch_filter, elasticsearch_sort, elasticsearch_to_merge, elasticsearch_view, environment-exposes-api, export-comment-api, export-comment-paragraph, export_data, external_followers, federation-webfinger, federation_followers, federation_followers_backend, federation_oauth_provider, federation_webfinger, fix_notification_email, fix_string_downcase_and_upcase, follower_permition, json_cookie_serializer, master, master_profile_followers, oauth_external_login, oauth_login, private-scraps, private-scraps-rebase, production, production-vendorized, profile_api_improvements, user_mention, webfinger_server
Set correct header for csrf token
|
| @@ -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
| |