Commit 07e4bbc5 authored by Elouan Martinet's avatar Elouan Martinet
Browse files

doc(README): document CSRF token

parent 30c053b58a28
Pipeline #76585 passed with stages
in 5 minutes and 8 seconds
......@@ -45,7 +45,8 @@ CwSimpleHttpClient can perform a doLogin(login,password) operation on the
cubicweb instance and perform the queries by using cookies (see [Known
issues](#known-issues)). It can also be transformed into a CwSigningHttpClient
(toSigningClient()) after a doLogin() operation. It requires that the CubicWeb
user has at least an enabled token linked to his/her account.
user has at least an enabled token linked to his/her account. The CSRF token
will be included if `allowsCrossOrigin` is false (the default).
```javascript
import {providers, client} from '@logilab/cwclientlibjs';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment