You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I faced a TypeError: Cannot read property 'csrf_tokens' of undefined error when I followed your tutorial. From my understanding it's coming from the latest version of expresse that does not include those middleware by default.
I faced a
TypeError: Cannot read property 'csrf_tokens' of undefined
error when I followed your tutorial. From my understanding it's coming from the latest version of expresse that does not include those middleware by default.My suggested workaround
npm install csurf cookie-parser express-session
Add:
and it should be fine 😄
The text was updated successfully, but these errors were encountered: