From 34cadbb808dc43452c1f48cc5179c6302e1c6f2b Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam Date: Fri, 25 Sep 2020 19:58:46 +0530 Subject: set Token to empty after logout Issue-ID: DOVETAIL-801 Signed-off-by: Kanagaraj Manickam Change-Id: Ifa36bb1611b08945a7a72964dd14a59a45638047 --- opnfv_testapi/ui/auth/sign.py | 1 + 1 file changed, 1 insertion(+) diff --git a/opnfv_testapi/ui/auth/sign.py b/opnfv_testapi/ui/auth/sign.py index fe10260..1da0164 100644 --- a/opnfv_testapi/ui/auth/sign.py +++ b/opnfv_testapi/ui/auth/sign.py @@ -330,5 +330,6 @@ class LogoutHandler(base.BaseHandler): input_token = self.request.headers._dict['Token'] if not input_token or not input_token == token : raises.Unauthorized(message.invalid_token()) + mc.set("token", '') resp = {'Message': 'You have been logged out successfully.'} self.finish_request(resp) -- cgit 1.2.3-korg