mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #25490 -- Made the logout() view send "no-cache" headers.
This commit is contained in:
@@ -92,6 +92,7 @@ def login(request, template_name='registration/login.html',
|
||||
|
||||
|
||||
@deprecate_current_app
|
||||
@never_cache
|
||||
def logout(request, next_page=None,
|
||||
template_name='registration/logged_out.html',
|
||||
redirect_field_name=REDIRECT_FIELD_NAME,
|
||||
|
||||
Reference in New Issue
Block a user