Skip to content

Conversation

@brianhelba
Copy link
Member

Globally enabling CSRF is no longer necessary, as newer versions of Ninja will now directly enforce it for any cookie auth. So, we can also remove the global disable ExemptBearerAuthFromCSRFMiddleware, since auth via bearer won't check CSRF (which is correct).

Globally enabling CSRF is no longer necessary, as newer versions of Ninja
will now directly enforce it for any cookie auth. So, we can also remove the
global disable `ExemptBearerAuthFromCSRFMiddleware`, since auth via bearer
won't check CSRF (which is correct).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants