django-brackets icon indicating copy to clipboard operation
django-brackets copied to clipboard

RecentLoginRequiredMixin breaks with POST login requests

Open kennethlove opened this issue 9 months ago • 0 comments

Expected behavior

The view should redirect like it does for a GET request.

Steps to reproduce

  • Change this line from .get to .post.
  • Save and run tests.
  • Observe that the test fails, the view returns a 403, and a warning shows that the CSRF cookie isn't set.

kennethlove avatar Sep 05 '23 02:09 kennethlove