Commit 94cf6275 authored by Mikaël Salson's avatar Mikaël Salson

Merge branch 'feature-s/3202-fix-log-event' into 'dev'

models/ calls web2py .log_event() to log in DB logging events

Closes #3202

See merge request !284
parents 89cae850 a48e0bf1
Pipeline #41970 failed with stages
in 9 minutes and 41 seconds
......@@ -603,6 +603,7 @@ class VidjilAuth(Auth):
return query
def log_event(self, description, vars=None, origin='auth'):
super(VidjilAuth, self).log_event(description, vars, origin)
if self.log and description:
message = description % vars + '.'
for (k,v) in vars.iteritems():
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment