From 734b782c0e6556072ac03305387041b01dc9406c Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sat, 1 May 2021 18:26:36 +0800 Subject: [PATCH] modify --- System/Jwt/Jwt.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/System/Jwt/Jwt.php b/System/Jwt/Jwt.php index 435940ea..f61918e1 100644 --- a/System/Jwt/Jwt.php +++ b/System/Jwt/Jwt.php @@ -461,6 +461,9 @@ mlAZUEjsoaT9vjvjGTxl3uCm0TX5KTgtSJIt2kA1tYVjQef+/iZTHxY= */ public function expireRefresh($token = null, $source = null) { + if (!isset($this->data['token'])) { + return; + } if (!empty($token)) { $this->data['token'] = $token; }