1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-28 16:48:04 +02:00
onion/js/constants/csrf_constants.js

8 lines
171 B
JavaScript
Raw Normal View History

2016-06-14 13:37:33 +02:00
export const CSRF_COOKIE_NAME = 'csrftoken2';
export const CSRF_CUSTOM_HEADER_NAME = 'X-CSRFToken';
export default {
CSRF_COOKIE_NAME,
CSRF_CUSTOM_HEADER_NAME
};