diff options
author | Kanagaraj Manickam <kanagaraj.manickam@huawei.com> | 2020-09-25 19:58:46 +0530 |
---|---|---|
committer | Kanagaraj Manickam <kanagaraj.manickam@huawei.com> | 2020-10-19 22:19:56 +0530 |
commit | 34cadbb808dc43452c1f48cc5179c6302e1c6f2b (patch) | |
tree | 501317e980c016494e67627a7fd5c78c9b0ecd5a | |
parent | 624d127c04a338f407da810b0049d241e5ddee9d (diff) |
set Token to empty after logout
Issue-ID: DOVETAIL-801
Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: Ifa36bb1611b08945a7a72964dd14a59a45638047
-rw-r--r-- | opnfv_testapi/ui/auth/sign.py | 1 |
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) |