web/application.py
changeset 5174 78438ad513ca
parent 5000 f1a10b41417a
child 5223 6abd6e3599f4
--- a/web/application.py	Wed Apr 07 09:24:00 2010 +0200
+++ b/web/application.py	Wed Apr 07 14:26:35 2010 +0200
@@ -190,7 +190,7 @@
     def _update_last_login_time(self, req):
         try:
             req.execute('SET X last_login_time NOW WHERE X eid %(x)s',
-                        {'x' : req.user.eid}, 'x')
+                        {'x' : req.user.eid})
             req.cnx.commit()
         except (RepositoryError, Unauthorized):
             # ldap user are not writeable for instance