should be _next http://zerp.ly/rochacbruno Em 30/11/2011 12:46, "lyn2py" <lyn...@gmail.com> escreveu:
> Hi guys, > > I created two links: > >> <a > href="{{=URL('default','user',args='login',vars=dict(next=request.env.path_info))}}">login</a> > >> <a > href="{{=URL('default','user',args='register',vars=dict(next=request.env.path_info))}}">register</a> > > The first link (login) works. After logging in, the user is redirected > to the page they were previously on. > The second link (register), doesn't work. After logging in, the user > is flashed "login successful" message and redirected back to myapp/ > default/index. > > How can I get the second link to work, or is this intentional? > > Thanks! >