diff --git a/admin/vendor-profile.php b/admin/vendor-profile.php index 7769b04..8edae5d 100644 --- a/admin/vendor-profile.php +++ b/admin/vendor-profile.php @@ -73,12 +73,12 @@ if (isset($_SESSION["token"])) { $issued_at_time = $token_data->iat; $expiration_time = $token_data->exp; - $renewal_time = $issued_at_time + 3300; + $renewal_time = $issued_at_time + 3000; - if (time() >= $renewal_time || time() >= $expiration_time) { - header("Location: token-renew.php"); - exit; - } + // if (time() >= $renewal_time || time() >= $expiration_time) { + // header("Location: token-renew.php"); + // exit; + // } } // $token = loginRenew($_SESSION["email"], $_SESSION["password"], $token); // $_SESSION["token"] = $token; @@ -114,7 +114,7 @@ date_default_timezone_set('Asia/Manila'); - + @@ -214,6 +235,7 @@ date_default_timezone_set('Asia/Manila'); ?>
+
diff --git a/product-left-sidebar.php b/product-left-sidebar.php index 996e769..d0fac47 100644 --- a/product-left-sidebar.php +++ b/product-left-sidebar.php @@ -408,7 +408,7 @@ if (isset($_GET['id'])) {