Closed jwoglom closed 9 years ago
I think that might cause a redirect loop. If a page requires a permission that a user doesn't have (e.g. attendance taker) then django redirects to the login page with the next parameter set to the page originally accessed.
On Saturday, May 16, 2015, James Woglom notifications@github.com wrote:
When a user is logged in, going to a /login?next= URL should redirect to the next location, defaulting to the index page if that is not defined, instead of showing the login page.
— Reply to this email directly or view it on GitHub https://github.com/tjcsl/ion/issues/104.
I think this is necessary for Django permissions decorators to work right.
When a user is logged in, going to a /login?next= URL should redirect to the next location, defaulting to the index page if that is not defined, instead of showing the login page.