From cc243fa7e42dad89d9edd7777ed6f12d0e44fe17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 30 Oct 2020 01:54:06 +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 8930cfcf..6d1fd500 100644 --- a/System/Jwt/Jwt.php +++ b/System/Jwt/Jwt.php @@ -332,7 +332,7 @@ mlAZUEjsoaT9vjvjGTxl3uCm0TX5KTgtSJIt2kA1tYVjQef+/iZTHxY= { $this->user = $user; $redis = $this->getRedis(); - if ($refresh = $redis->get('refresh:' . $this->user)) { + if (is_bool($refresh = $redis->get('refresh:' . $this->user))) { return []; }; openssl_public_decrypt(base64_decode($refresh), $info, $this->public);