summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2022-04-16 20:21:29 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-04-20 10:04:29 +0200
commit04bc2564b6e0a1a0f75bb5f015e47c96c86fa0be (patch)
tree4432ad31cbdb02c5cbfcfa8bbaecc05cd5c1ed40 /docs
parent5fcd9b8c3383e2ab20c1573b44131105654b99d0 (diff)
Simplified LogoutView.get_success_url().
This preserves the behavior of redirecting to the logout URL without query string parameters when an insecure ?next=... parameter is given. It changes the behavior of a POST to the logout URL, as shown by the test that is changed. Currently, this results in a GET to the logout URL. However, such GET requests are deprecated. This change would be necessary in Django 5.0 anyway. This commit merely anticipates it.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions