Skip to content

RecentLoginRequiredMixin breaks with POST login requests #1

@kennethlove

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.

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