From 2377935702bdd1f2e419cd9edbc3bf42c5042fae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 30 Oct 2020 01:58:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Jwt/Jwt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Jwt/Jwt.php b/System/Jwt/Jwt.php index 778e0831..62fa9859 100644 --- a/System/Jwt/Jwt.php +++ b/System/Jwt/Jwt.php @@ -388,7 +388,7 @@ mlAZUEjsoaT9vjvjGTxl3uCm0TX5KTgtSJIt2kA1tYVjQef+/iZTHxY= if (!isset($model['user'])) { return $this->addError('授权信息错误!'); } - if (!$this->check($this->data, $model['user'])) { + if (!$this->check($this->data, (int)$model['user'])) { return $this->addError('授权信息不合法!'); } $this->expireRefresh();