Opened 15 years ago
Last modified 14 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.
Note:
See TracTickets
for help on using tickets.
Adds the necessary never_cache decorator