Simple csrf tokens middleware for Express
req.session.csrf
token to the session storeNo config implemented
const csrf = require('./middleware/csrf');
this.server.use(csrf.middleware);
{
"csrf": {
"enabled": false
}
}
No links available
Last modified | Friday, April 30, 2021, 12:00:21 PM UTC |
Last author | Colin van Eenige |
Commit ID | 4c7a701 |