Opened 14 years ago
Closed 13 years ago
#15266 closed Bug (fixed)
"login_required" for "password_change_done" like "password_change"
Reported by: | Stephane | Owned by: | Brandon M Height |
---|---|---|---|
Component: | contrib.auth | Version: | |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Hi,
There is a "login_required" for "password_change", but nothing for "password_change_done". It would be better to have:
@login_required def password_change_done [...]
Best regards,
Stephane
Attachments (1)
Change History (7)
comment:1 by , 14 years ago
Component: | Uncategorized → Authentication |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
comment:2 by , 14 years ago
Needs tests: | set |
---|---|
Triage Stage: | Ready for checkin → Accepted |
... and, of course, it's not a one line change, because it needs tests. Late night brain not think good.
comment:3 by , 14 years ago
Has patch: | set |
---|---|
Needs tests: | unset |
Not sure if the tests need to be more complex than the ones I added.
comment:4 by , 14 years ago
Owner: | changed from | to
---|
comment:5 by , 14 years ago
Severity: | → Normal |
---|---|
Type: | → Bug |
Note:
See TracTickets
for help on using tickets.
An edge case, but seems reasonable. Marking RFC because it's a one line change