From de68bca7d1b5ef2b213a67fa24056f35b7585629 Mon Sep 17 00:00:00 2001 From: tianya Date: Mon, 24 Aug 2020 11:57:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DCSRF=E4=BF=9D=E6=8A=A4?= =?UTF-8?q?=E6=8E=AA=E6=96=BD=E7=BB=95=E8=BF=87=E6=BC=8F=E6=B4=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/dede/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dede/config.php b/src/dede/config.php index 57badb7e..e66b3036 100755 --- a/src/dede/config.php +++ b/src/dede/config.php @@ -64,7 +64,7 @@ function csrf_check() { global $token; - if(!isset($token) || strcasecmp($token, $_SESSION['token']) != 0){ + if(!isset($token) || strcasecmp($token, $_SESSION['token']) !== 0){ echo 'DedeCMS:CSRF Token Check Failed!'; exit; }