web/views/basetemplates.py
branchstable
changeset 4781 d12cbd0b7574
parent 4604 96cc3d296d75
child 4935 f710770e6e90
--- a/web/views/basetemplates.py	Thu Mar 04 08:50:21 2010 +0100
+++ b/web/views/basetemplates.py	Thu Mar 04 08:50:27 2010 +0100
@@ -391,8 +391,9 @@
         self.w(u'<td id="lastcolumn">')
         self.w(u'</td>\n')
         self.w(u'</tr></table>\n')
-        self.wview('logform', rset=self.cw_rset, id='popupLoginBox', klass='hidden',
-                   title=False, showmessage=False)
+        if self._cw.cnx.anonymous_connection:
+            self.wview('logform', rset=self.cw_rset, id='popupLoginBox',
+                       klass='hidden', title=False, showmessage=False)
 
     def state_header(self):
         state = self._cw.search_state