jazzband / django-two-factor-auth

Complete Two-Factor Authentication for Django providing the easiest integration into most Django projects.
MIT License
1.71k stars 448 forks source link

Decorate the login view with login_not_required on Django 5.1+ #738

Closed claudep closed 3 months ago

claudep commented 3 months ago

Read also https://docs.djangoproject.com/en/5.1/ref/middleware/#django.contrib.auth.middleware.LoginRequiredMiddleware

claudep commented 3 months ago

Note this PR is also using the commit from #737.

claudep commented 3 months ago

Rebased on master.