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
Sadly, I am still not able to reproduce it. I only can suspect that in certain pages when we are redirecting after hijacking there is no CSRF token set from template. Do you have any ideas on this, maybe hints?
I am happy to prepare a patch here or will wait for your solution.
Best,
Rust
The text was updated successfully, but these errors were encountered:
Greetings!
We have a pretty standard django-hijack setup and most of the times it just works.
However, we are noticing in Sentry a flaky hijjack issue:
So, the library is trying to access CSRF cookie from
request.META
, but it is not available in the given<WSGIRequest: GET '/'>
instance.hijack.middleware.HijackUserMiddleware
is placed after the CSRF one:Sadly, I am still not able to reproduce it. I only can suspect that in certain pages when we are redirecting after hijacking there is no CSRF token set from template. Do you have any ideas on this, maybe hints?
I am happy to prepare a patch here or will wait for your solution.
Best,
Rust
The text was updated successfully, but these errors were encountered: