On Wednesday, November 30, 2011 10:00:05 AM UTC-5, lyn2py wrote: > > And how did I miss that?? > Thanks Bruno! > > Funny behavior?: > * I used "next" and it worked for the login link. > Are you sure the 'next' value for login isn't being set somewhere else (or isn't simply the default 'index')? Using 'next' (rather than '_next') in the URL should not work.
> * 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?) > The register() and login() functions directly take 'next' arguments to specify the next URL, or you can add a '_next' variable to the link clicked (the former, if specified, will override the latter). You can also set auth.settings.login_next and auth.settings.registration_next (which will be overridden by '_next' in the URL or passing a 'next' argument to the login() and register() functions). Anthony

