This is a problem only if login is the entry point of your app and it should not be. If you always get to login from a redirection you should not have this problem.
Massimo On Jun 2, 6:04 pm, salbefe <salb...@gmail.com> wrote: > Annet, > > I found the problem but not the solution > > The login form that exposes http://..../[app]/default/user/login has > a hidden field called _next. This field at the beginning is empty. > Because is empty web2py should redirect to auth.settings.login_next=URL > (r=request, c='default', f='index'). > > After a successfully login the _next field has the following value: > "http://127.0.0.1:8000/prueba/default/user/login" I can't understand > why it has that value if I didn't set it and why I'm not get > redirected to URL(r=request, c='default', f='index') the first time > that _next was empty. > > I'm still thinking that is a bug on the last version > > Kind regards > Salva --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---