web/views/sessions.py
changeset 9015 65b8236e1bb4
parent 8544 3d049071957e
child 9017 aa709bc6b6c1
child 9492 c7fc56eecd1a
--- a/web/views/sessions.py	Fri Jun 14 17:13:17 2013 +0200
+++ b/web/views/sessions.py	Thu Jun 13 17:27:43 2013 +0200
@@ -100,8 +100,6 @@
     def _update_last_login_time(self, req):
         # XXX should properly detect missing permission / non writeable source
         # and avoid "except (RepositoryError, Unauthorized)" below
-        if req.user.cw_metainformation()['source']['type'] == 'ldapuser':
-            return
         try:
             req.execute('SET X last_login_time NOW WHERE X eid %(x)s',
                         {'x' : req.user.eid})