And how did I miss that??
Thanks Bruno!

Funny behavior?:
* I used "next" and it worked for the login link.
* if I used auth.login(_next=...) and an error tells me I can't use
_next (I have to use "next") - but I didn't try what works with
auth.register(_next or next?)



On Nov 30, 10:52 pm, Bruno Rocha <[email protected]> wrote:
> should be _next
>
> http://zerp.ly/rochacbruno
> Em 30/11/2011 12:46, "lyn2py" <[email protected]> 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.pa 
> > th_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!

Reply via email to