From e4f8c263ab120f678897968a59755fbfefcbfa60 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 23 Jul 2019 11:16:48 +0800 Subject: [PATCH] 1 --- webapp/index.php | 3 +++ 1 file changed, 3 insertions(+) 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; }