Exemple #1
0
 def logout(request):
     response = web.HTTPFound(location='/')
     yield from forget(request, response)
     return response
Exemple #2
0
 def do_forget(request):
     response = web.Response()
     yield from forget(request, response)
 def do_forget(request):
     response = web.Response()
     yield from forget(request, response)
 def logout(request):
     response = web.HTTPFound('/')
     yield from forget(request, response)
     return response
Exemple #5
0
 def logout(self, request):
     response = web.Response(body=b'You have been logged out')
     yield from forget(request, response)
     return response
Exemple #6
0
 def post(self):
     response = self.response('')
     yield from forget(self.request, response)
     return response