def _erase_cookie(response, *args, **kw): erase_cookie(response.headers.cookie, *args, **kw)
def sign_out(self, cookies): """End the user's current session. """ self.participant.update_session(None, None) self.participant = None erase_cookie(cookies, SESSION)