I am trying to enable the csrf module of Express 4 in an existing application.
I have added the following code:
var csrf = require(\'csurf\') ... ap
If you're using Redis as a session store and the server isn't running, you will also get a misconfigured error.
https://github.com/expressjs/csurf/issues/73