Re: [web2py] [problem][trunk] @auth.requires

2011-03-17 Thread Jonathan Lundell
On Mar 17, 2011, at 7:29 AM, Martín Mulone wrote: > @auth.requires(auth.has_membership(role='Admin')) > def index(): > return dict() > > No longer redirect to login page, instead show not authorized message. This > only happen in trunk. > The two lines marked below were removed when Ma

[web2py] [problem][trunk] @auth.requires

2011-03-17 Thread Martín Mulone
@auth.requires(auth.has_membership(role='Admin')) def index(): return dict() No longer redirect to login page, instead show not authorized message. This only happen in trunk. -- Pablo Martín Mulone (mar...@tecnodoc.com.ar) http://www.tecnodoc.com.ar/ My blog: http://martin.tecnodoc.com.ar E