aboutsummaryrefslogtreecommitdiffstats
path: root/opnfv_testapi/ui/auth/sign.py
diff options
context:
space:
mode:
Diffstat (limited to 'opnfv_testapi/ui/auth/sign.py')
-rw-r--r--opnfv_testapi/ui/auth/sign.py1
1 files changed, 1 insertions, 0 deletions
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)