equal
deleted
inserted
replaced
21 |
21 |
22 class GAELogoutAction(LogoutAction): |
22 class GAELogoutAction(LogoutAction): |
23 |
23 |
24 def url(self): |
24 def url(self): |
25 return users.create_logout_url(self.req.build_url('logout') ) |
25 return users.create_logout_url(self.req.build_url('logout') ) |
26 |
26 |
27 def registration_callback(vreg): |
27 def registration_callback(vreg): |
28 if hasattr(vreg.config, 'has_resource'): |
28 if hasattr(vreg.config, 'has_resource'): |
29 vreg.register(GACWUserLink, clear=True) |
29 vreg.register(GACWUserLink, clear=True) |
30 vreg.register(GAELogoutAction, clear=True) |
30 vreg.register(GAELogoutAction, clear=True) |