Merge remote-tracking branch 'origin/main' into main

This commit is contained in:
李东云
2022-07-22 14:19:49 +08:00

View File

@@ -50,9 +50,7 @@ class AppAuthentication implements AuthenticationInterface
}
$user = unserialize($redis_data);
if (empty($this->user) || $user['last_time'] != $this->user['last_time']) {
$this->user = $user;
}
$this->user = $user;
$this->redis->expire($this->prefix . $token, $this->expire);