From c71fa3b9bcaed356954ab39e57da86448cb1cfca Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 23 Jul 2019 11:17:27 +0800 Subject: [PATCH] 1 --- third_party/phpcommon | 2 +- webapp/index.php | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/third_party/phpcommon b/third_party/phpcommon index 5fb5d7f..21cbf16 160000 --- a/third_party/phpcommon +++ b/third_party/phpcommon @@ -1 +1 @@ -Subproject commit 5fb5d7f6fcd174b9c4ad4e30e189e90e2b8c846e +Subproject commit 21cbf1616cd145c248452eaf77b1e1c7c14c82bd diff --git a/webapp/index.php b/webapp/index.php index 19efba1..7ed1cb9 100644 --- a/webapp/index.php +++ b/webapp/index.php @@ -16,6 +16,9 @@ spl_autoload_register('autoload_controller__'); function loginVerify($accountid, $sessionid) { + if (!phpcommon\isValidSessionId($accountid, $sessionid)) { + return false; + } return true; }