On Thursday, February 23, 2012 2:11:19 AM UTC-5, Prakhar Srivastava wrote: > > is there any way to change the path after Login by default in direct > to the index
auth.settings.login_next = URL('default', 'index') If the user requests a specific URL that requires login and gets redirected to the login page, then by default they will get redirected back to the originally requested URL after login rather than the "index" page. Generally, that's the behavior you want, but if for some reason you want to force a redirect to the index page even in that case, I think you'd have to change your login action to explicitly call the Auth login() function with the "next" argument: auth.login(next=URL('default', 'index')). Anthony