Ticket #14446: password_reset_fix.diff

File password_reset_fix.diff, 665 bytes (added by Paul McMillan, 14 years ago)

Adds the necessary never_cache decorator

  • django/contrib/auth/views.py

     
    131131    return render_to_response(template_name, context_instance=RequestContext(request))
    132132
    133133# Doesn't need csrf_protect since no-one can guess the URL
     134@never_cache
    134135def password_reset_confirm(request, uidb36=None, token=None, template_name='registration/password_reset_confirm.html',
    135136                           token_generator=default_token_generator, set_password_form=SetPasswordForm,
    136137                           post_reset_redirect=None):
Back to Top