Re: [web2py] Re: Fwd: web2py basic auth

2011-01-30 Thread Miguel Lopes
You got me in the right direction. Txs. I'll be starting a separate thread on what I'm trying to achieve, so far without success. On Sat, Jan 29, 2011 at 8:13 PM, Niphlod niph...@gmail.com wrote: sorry, my mistake! On Jan 29, 4:01 pm, Miguel Lopes mig.e.lo...@gmail.com wrote: gluons/tools.py

Re: [web2py] Re: Fwd: web2py basic auth

2011-01-29 Thread Miguel Lopes
gluons/tools.py Txs, Miguel On Sat, Jan 29, 2011 at 12:29 AM, Niphlod niph...@gmail.com wrote: call_or_redirect() is the real addition here you can use both a URL or a function to manage on_failed_authentication and on_failed_authorization ... take a look in gluon/utils.py On Jan 28,

[web2py] Re: Fwd: web2py basic auth

2011-01-29 Thread Niphlod
sorry, my mistake! On Jan 29, 4:01 pm, Miguel Lopes mig.e.lo...@gmail.com wrote: gluons/tools.py Txs, Miguel On Sat, Jan 29, 2011 at 12:29 AM, Niphlod niph...@gmail.com wrote: call_or_redirect() is the real addition here you can use both a URL or a function to manage

[web2py] Re: Fwd: web2py basic auth

2011-01-28 Thread Niphlod
call_or_redirect() is the real addition here you can use both a URL or a function to manage on_failed_authentication and on_failed_authorization ... take a look in gluon/utils.py On Jan 28, 1:48 am, miguel mig.e.lo...@gmail.com wrote: I suppose this is mentioned in the Change Log by: