@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
Expert4Solution Profile:
http://www.experts4solutions.com/e4s/default/expert/6

Reply via email to