summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2010-12-12 22:59:03 +0000
committerJannis Leidel <jannis@leidel.info>2010-12-12 22:59:03 +0000
commit867e935c51d337e656f9aefc7c475747c64596b2 (patch)
tree5b9d08f60cb15919133e50f9f603917c9d864e96
parentd8165ce1566771960cf33e414c1a6e643fd46dea (diff)
Fixed #14446 -- Prevented the password reset confirmation view to be cached. Thanks, Paul and Gabriel.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/contrib/auth/views.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/contrib/auth/views.py b/django/contrib/auth/views.py
index 7e4b1f33dc..8d0453f8f9 100644
--- a/django/contrib/auth/views.py
+++ b/django/contrib/auth/views.py
@@ -163,6 +163,7 @@ def password_reset_done(request,
context_instance=RequestContext(request, current_app=current_app))
# Doesn't need csrf_protect since no-one can guess the URL
+@never_cache
def password_reset_confirm(request, uidb36=None, token=None,
template_name='registration/password_reset_confirm.html',
token_generator=default_token_generator,