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
Instead of using a new cookie, maybe it can be stored in Session. This will also have the benefit of making it encrypted (not that it is critical anyway).
While at it, also store "original URL" where the impersonation was triggered, so once impersonation is finished it can be redirected to that URL.
The text was updated successfully, but these errors were encountered:
https://github.com/surface-security/django-impersonate/blob/2697ddaeb95be60887f6e21699330974dbbd619a/impersonate/middleware.py#L21
Instead of using a new cookie, maybe it can be stored in Session. This will also have the benefit of making it encrypted (not that it is critical anyway).
While at it, also store "original URL" where the impersonation was triggered, so once impersonation is finished it can be redirected to that URL.
The text was updated successfully, but these errors were encountered: