pydal bug!

36 views
Skip to first unread message

António Ramos

unread,
Feb 20, 2020, 10:47:00 AM2/20/20
to web...@googlegroups.com
this is the result 
image.png
of this code . Why do i get user ???
@action('colors')
@action.uses( session, db, T, auth.user)
def colors():

    return {'colors': ['red''blue''green']}

Massimo Di Pierro

unread,
Feb 20, 2020, 11:06:17 PM2/20/20
to web2py-users
do

auth.inject = False

On second thought. This should be default because can be an information leak issue.
Reply all
Reply to author
Forward
0 new messages