Author: jezdez
Date: 2010-12-12 16:59:03 -0600 (Sun, 12 Dec 2010)
New Revision: 14890

Modified:
   django/trunk/django/contrib/auth/views.py
Log:
Fixed #14446 -- Prevented the password reset confirmation view to be cached. 
Thanks, Paul and Gabriel.

Modified: django/trunk/django/contrib/auth/views.py
===================================================================
--- django/trunk/django/contrib/auth/views.py   2010-12-12 22:58:47 UTC (rev 
14889)
+++ django/trunk/django/contrib/auth/views.py   2010-12-12 22:59:03 UTC (rev 
14890)
@@ -163,6 +163,7 @@
                               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,

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to