Example #1
0
 def default(self, request):
     # will not actually do anything as it's a no-op for basic
     # auth, but at least won't crash
     response = Response(content_type='text/plain')
     generic.forget(response, request, lookup=request.lookup)
     return response
Example #2
0
 def log_out(self, request):
     response = Response()
     generic.forget(response, request, lookup=request.lookup)
     return response
Example #3
0
 def default(request, model):
     # will not actually do anything as it's a no-op for basic
     # auth, but at least won't crash
     response = Response()
     generic.forget(response, request, lookup=request.lookup)
     return response