goa/appobjects/gauthservice.py
branchtls-sprint
changeset 1802 d628defebc17
parent 1398 5fe84a5f7035
child 1977 606923dff11b
equal deleted inserted replaced
1801:672acc730ce5 1802:d628defebc17
    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)