web/views/basecontrollers.py
changeset 4072 ead446e70c28
parent 4023 eae23c40627a
child 4252 6c4f109c2b03
--- 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: