Como registrar eventos personalizados em auth_event?

10 views
Skip to first unread message

Fabiano Almeida

unread,
Jun 11, 2015, 12:22:31 PM6/11/15
to web2py-us...@googlegroups.com
Hi @ll!

Depois de realizar uma operação específica no sistema, preciso registrar em auth_event. Como fazer isso?

Desde já, agradeço

Fabiano.

Fabiano Almeida

unread,
Jun 11, 2015, 2:14:56 PM6/11/15
to web2py-us...@googlegroups.com
origin = 'xxxx'
description='yyyy'
db.auth_event.insert(time_stamp=request.now, client_ip=request.client, user_id=auth.user.id, origin=origin, description=description)
Reply all
Reply to author
Forward
0 new messages