changeset 3659 | 993997b4b41d |
parent 3451 | 6b46d73823f5 |
child 3890 | d7a270f50f54 |
--- a/web/views/basecomponents.py Tue Oct 13 16:00:09 2009 +0200 +++ b/web/views/basecomponents.py Tue Oct 13 18:20:05 2009 +0200 @@ -108,7 +108,7 @@ self.anon_user_link() def anon_user_link(self): - if self._cw.config['auth-mode'] == 'cookie': + if self._cw.vreg.config['auth-mode'] == 'cookie': self.w(self._cw._('anonymous')) self.w(u''' [<a class="logout" href="javascript: popupLoginBox();">%s</a>]''' % (self._cw._('i18n_login_popup')))