def log_out(self, request): response = Response() generic.forget_identity(response, request, lookup=request.lookup) return response
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_identity(response, request, lookup=request.lookup) return response