Skip to content

getCSRFValue ​

Overview ​

Reads the CSRF token from the browser cookie.

Signature ​

getCSRFValue()

Returns ​

string

The CSRF token value, or undefined if the cookie is not set.

Source ​

client/lib/utils/csrf.js:13