def _logout(self, request, login_url=None, message=None):
        response = auth_views.logout(request, login_url)
        if message is not None:
            self.logout_reason = message
            utils.add_logout_reason(request, response, message)
        return response
Logout a user and display a logout message.
dataset/ETHPy150Open openstack/horizon/horizon/middleware.py/HorizonMiddleware._logout