Opened 14 years ago

Last modified 13 years ago

#14446 closed

auth.views.password_reset_confirm should never be cached — at Initial Version

Reported by: Paul McMillan Owned by: Paul McMillan
Component: contrib.auth Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I'm splitting this issue off from #14105, as it is separate from the meat of that ticket.

Django.contrib.auth.views.password_reset_confirm needs the never_cache decorator.

To reproduce:

1. Start a new project. Add  django.contrib.admin  and setup a sqlite database. Test result: OK.

2. Add the required cache settings and the update/fetch middleware. Tests result: FAILED (failures=1, errors=27) 

This issue is that single failure.

Change History (1)

by Paul McMillan, 14 years ago

Attachment: password_reset_fix.diff added

Adds the necessary never_cache decorator

Note: See TracTickets for help on using tickets.
Back to Top