Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 867e935c51d337e656f9aefc7c475747c64596b2 1 parent d8165ce
@jezdez jezdez authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  django/contrib/auth/views.py
View
1  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,
Please sign in to comment.
Something went wrong with that request. Please try again.