Ticket #1787 (closed defect: fixed)
'login' method in standard Root controller sets wrong HTTP status code
| Reported by: | Chris Arndt | Owned by: | Chris Arndt |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1 |
| Component: | TurboGears | Version: | 1.0.4.4 |
| Severity: | normal | Keywords: | quickstart, login, HTTP status, authorization |
| Cc: |
Description
The login method in the standard root controller of a quickstarted project sets the HTTP status code to 403 ("Forbidden"), where it should be 401 ("Unauthorized").
See controllers.py_tmpl.
This is easy to fix, but we should have a unit test in the quickstart projects for this, so I'm putting this ticket here as a reminder.
Change History
comment:2 Changed 3 years ago by Chris Arndt
- Status changed from new to assigned
- Owner changed from anonymous to Chris Arndt
Note: See
TracTickets for help on using
tickets.