Skip to content

Compatibility with LoginRequiredMiddleware #257

@loleg

Description

@loleg

If the Django 5.2 site is locked down using LoginRequiredMiddleware, django-registration is mostly ignored. Most key URLs are redirected to the login screen, rather than showing the form - including: accounts/register/, accounts/activate/, accounts/password_change/. For a reason I can't yet explain, the following URLs work: accounts/login/, accounts/password_reset/. Some documentation of how to enable site-wide policy would be useful, as this is probably quite a common use case.

One workaround is to use a custom middleware class, as described in a discussion on the forums.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions