Thank you Annet I have tried your code but I does not work :( . Inside the Auth class source code I found this line of code inside the __init__ function : self.settings.login_next = self.url('index'). I think that means that after login it should be redirected to the index funtion. Tht's what happens in this video tutorial http://www.vimeo.com/3703345; after login it redirects to the index by default without any particular settings. Perhaps is a bug?
Best regards, Salva On 2 jun, 17:56, annet.verm...@gmail.com wrote: > I think this is what you're looking for: > > auth.settings.login_url=URL > (r=request,c='authentication',f='user',args='login') > auth.settings.login_next=URL(r=request,c='default',f='index') > auth.settings.logout_next=URL(r=request,c='default',f='index') > > Kind regards, > > Annet. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---