Tank Auth v1.0 (CI authentication library) |
[eluser]theshiftexchange[/eluser]
[quote author="TheFuteballer" date="1270329503"]I noticed that Tank_Auth redirects ONLY to the home page once a user logs in. Has anyone found a good solution to redirect to the referring page? i.e. A user tries to access a protected portion of the side - www.example.com/admin , they go to the login page, but once they log in they get redirected to www.example.com instead of www.example.com/admin I'd ideally like to avoid having to set a session variable that holds the current URL on each page (controller) that I want to protect.[/quote] Try this post and see if that helps: http://ellislab.com/forums/viewthread/105291/ In terms of searching for this solution - keep in mind your issue is not a "Tank Auth" problem - its more of a general redirect problem |
Welcome Guest, Not a member yet? Register Sign In |