mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-30 10:29:42 +00:00
Fix deprecated method in redis
This commit is contained in:
@@ -65,7 +65,7 @@ class PasswordRecoverLocker
|
|||||||
|
|
||||||
if (0 === $this->chillRedis->exists($key)) {
|
if (0 === $this->chillRedis->exists($key)) {
|
||||||
$this->chillRedis->set($key, 1);
|
$this->chillRedis->set($key, 1);
|
||||||
$this->chillRedis->setTimeout($key, $ttl);
|
$this->chillRedis->expire($key, $ttl);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user