-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add csrf token in ctx.state #50
Comments
This will be resolved in v4.0.0 released to npm later today |
Released koa-csrf v4.0.0, which requires Node >= 14. |
Actually, we're deprecating v4.0.0 and just released v4.0.1. All the "getter" internals need rewritten to actually support "ctx.state.csrf" properly. |
v5.0.0 is released which strictly and only supports Note we also added |
ctx.state is a recommended namespace for passing information through middleware and to your frontend views.
The text was updated successfully, but these errors were encountered: