Django 5: LogoutView must be called via POST now
Some checks failed
Run tests / Execute tox to run the test suite (push) Failing after 1m26s
Some checks failed
Run tests / Execute tox to run the test suite (push) Failing after 1m26s
This commit is contained in:
@@ -6,7 +6,8 @@ from .. import views
|
||||
class TestCase(UrlsTestCase):
|
||||
urls = (
|
||||
Url('/auth/login', 'dav_auth:login', views.LoginView.as_view()),
|
||||
Url('/auth/logout', 'dav_auth:logout', views.LogoutView.as_view(), status_code=302),
|
||||
Url('/auth/logout', 'dav_auth:logout', views.LogoutView.as_view(), status_code=302,
|
||||
http_method='POST'),
|
||||
Url('/auth/password', 'dav_auth:set_password', views.SetPasswordView.as_view(),
|
||||
redirect='/auth/login?next=/auth/password'),
|
||||
Url('/auth/password/recreate', 'dav_auth:recreate_password', views.CreateAndSendPasswordView.as_view()),
|
||||
|
||||
Reference in New Issue
Block a user