From 417365fa2555418665d41224421e99c153b15c7b Mon Sep 17 00:00:00 2001 From: thuva4 Date: Mon, 9 Apr 2018 12:14:45 +0530 Subject: Add expires days for cookies Change-Id: I610be7125d33c571d34507ad9e602eb9abd7bb6d Signed-off-by: thuva4 --- testapi/opnfv_testapi/handlers/sign_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testapi') diff --git a/testapi/opnfv_testapi/handlers/sign_handlers.py b/testapi/opnfv_testapi/handlers/sign_handlers.py index 7540662..2039971 100644 --- a/testapi/opnfv_testapi/handlers/sign_handlers.py +++ b/testapi/opnfv_testapi/handlers/sign_handlers.py @@ -46,7 +46,7 @@ class SigninReturnHandler(SignBaseHandler): dbapi.db_update(self.table, q_user, login_user) self.clear_cookie(constants.TESTAPI_ID) - self.set_secure_cookie(constants.TESTAPI_ID, user) + self.set_secure_cookie(constants.TESTAPI_ID, user, 1) self.redirect(url=CONF.ui_url) -- cgit 1.2.3-korg