示例#1
0
def _erase_cookie(response, *args, **kw):
    erase_cookie(response.headers.cookie, *args, **kw)
示例#2
0
 def sign_out(self, cookies):
     """End the user's current session.
     """
     self.participant.update_session(None, None)
     self.participant = None
     erase_cookie(cookies, SESSION)
示例#3
0
def _erase_cookie(response, *args, **kw):
    erase_cookie(response.headers.cookie, *args, **kw)
示例#4
0
 def sign_out(self, cookies):
     """End the user's current session.
     """
     self.participant.update_session(None, None)
     self.participant = None
     erase_cookie(cookies, SESSION)