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