Skip to content

utils/csrf ​

Overview ​

Reads the CSRF token from the browser cookie for use in mutating HTTP requests.

Methods ​

  • getCSRFValue - Reads the CSRF token from the browser cookie.

Source ​

client/lib/utils/csrf.js:1