Commit 94446afe authored by Aurelien Campeas's avatar Aurelien Campeas
Browse files

cw3.10 compat

--HG--
branch : stable
parent 2bc5d2c51e11
......@@ -176,7 +176,7 @@ class RegistrationConfirmController(controller.Controller):
return self._cw.build_url('', __message=msg % self._cw.user.name())
class AnonUserLink(basecomponents.AnonUserLink):
class AnonUserLink(basecomponents.CookieLoginComponent):
def call(self):
super(AnonUserLink, self).call()
self.w(u'&nbsp;[<a class="logout" href="%s">%s</a>]' % (
......@@ -191,4 +191,4 @@ class RegistrationSimpleReqRewriter(urlrewrite.SimpleReqRewriter):
def registration_callback(vreg):
vreg.register_all(globals().values(), __name__, (AnonUserLink,))
vreg.register_and_replace(AnonUserLink, basecomponents.AnonUserLink)
vreg.register_and_replace(AnonUserLink, basecomponents.CookieLoginComponent)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment