Browse files

[1.2.X] Fixed #14446 -- Prevented the password reset confirmation vie…

…w to be cached. Thanks, Paul and Gabriel.

Backport from trunk (r14890).

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 33a6201 commit 4803410721db629a35390eb415e8c3fe86314f30 @jezdez jezdez committed Dec 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/auth/
@@ -129,7 +129,7 @@ def password_reset(request, is_admin_site=False, template_name='registration/pas
def password_reset_done(request, template_name='registration/password_reset_done.html'):
return render_to_response(template_name, context_instance=RequestContext(request))
-# Doesn't need csrf_protect since no-one can guess the URL
def password_reset_confirm(request, uidb36=None, token=None, template_name='registration/password_reset_confirm.html',
token_generator=default_token_generator, set_password_form=SetPasswordForm,

0 comments on commit 4803410

Please sign in to comment.