web/application.py
changeset 5591 c6edefa9b3f1
parent 5590 a56eb02f9ce7
child 5655 ef903fff826d
--- a/web/application.py	Wed May 26 12:33:48 2010 +0200
+++ b/web/application.py	Wed May 26 14:37:32 2010 +0200
@@ -235,7 +235,7 @@
     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.metainformation()['source']['adapter'] == 'ldapuser':
+        if req.user.cw_metainformation()['source']['adapter'] == 'ldapuser':
             return
         try:
             req.execute('SET X last_login_time NOW WHERE X eid %(x)s',