[web2py] Re: auth.settings.login_onaccept and request.vars_next

2014-11-04 Thread Annet
Hi Anthony, Thanks for you reply. You're right the problem lay elsewhere. My application's authentication and authorization is node- and function driven, on failed authentication my application wasn't redirecting to user/login, when I set: auth.settings.on_failed_authentication = URL('default'

[web2py] Re: auth.settings.login_onaccept and request.vars_next

2014-10-31 Thread Anthony
What does on_login() do? Assuming it doesn't do a redirect, it shouldn't interfere with the redirect to the _next URL (in which case, the problem likely lies elsewhere). Anthony On Friday, October 31, 2014 4:20:58 AM UTC-4, Annet wrote: > > I have the follwoing auth settings: > > > auth.setting