diff -r e19e586cc74e -r ead446e70c28 web/views/basecontrollers.py --- a/web/views/basecontrollers.py Wed Dec 09 12:20:05 2009 +0100 +++ b/web/views/basecontrollers.py Wed Dec 09 12:22:21 2009 +0100 @@ -68,7 +68,7 @@ def publish(self, rset=None): """log in the instance""" - if self._cw.config['auth-mode'] == 'http': + if self._cw.vreg.config['auth-mode'] == 'http': # HTTP authentication raise ExplicitLogin() else: