NotAuthorized/NotAuthenticated redirect doesn't honour settings.LOGIN_URL
Bug #1079444 reported by
Kieran Spear
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
Kieran Spear |
Bug Description
We're using a custom login view as our default auth page, but the HorizonMiddleware exception handler hardcodes the name of the login view as "login". So redirects don't go to our page.
if isinstance(
[...]
return shortcuts.
The django login_required decorator redirects to settings.LOGIN_URL if it is set, and this code should probably do the same.
Changed in horizon: | |
assignee: | nobody → Kieran Spear (kspear) |
Changed in horizon: | |
milestone: | none → grizzly-1 |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | grizzly-1 → 2013.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/16287
Review: https:/