|
@@ -53,7 +53,7 @@ class Redis extends Driver
|
|
|
$expire = $this->options['expire'];
|
|
|
}
|
|
|
$expiretime = $expire !== 0 ? time() + $expire : 0;
|
|
|
- $token = $this->getEncryptedToken($token);
|
|
|
+// $token = $this->getEncryptedToken($token);
|
|
|
$tokenInfo = [
|
|
|
'token' => $token,
|
|
|
'type' => $type,
|
|
@@ -78,8 +78,8 @@ class Redis extends Driver
|
|
|
|
|
|
public function get(string $token, bool $expirationException = true): array
|
|
|
{
|
|
|
- $key = $this->getEncryptedToken($token);
|
|
|
- $data = $this->handler->get($key);
|
|
|
+// $key = $this->getEncryptedToken($token);
|
|
|
+ $data = $this->handler->get($token);
|
|
|
if (is_null($data) || false === $data) {
|
|
|
return [];
|
|
|
}
|