Skip to content

RecentLoginRequiredMixin breaks with POST login requests #1

Description

@kennethlove

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions