This commit is contained in:
2020-10-30 01:53:16 +08:00
parent 0f900614ec
commit 5b9ca81408
+3 -1
View File
@@ -332,7 +332,9 @@ mlAZUEjsoaT9vjvjGTxl3uCm0TX5KTgtSJIt2kA1tYVjQef+/iZTHxY=
{ {
$this->user = $user; $this->user = $user;
$redis = $this->getRedis(); $redis = $this->getRedis();
$refresh = $redis->get('refresh:' . $this->user); if ($refresh = $redis->get('refresh:' . $this->user)) {
return [];
};
openssl_public_decrypt(base64_decode($refresh), $info, $this->public); openssl_public_decrypt(base64_decode($refresh), $info, $this->public);
$_tmp = []; $_tmp = [];