mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Fix deprecated method in redis
This commit is contained in:
parent
d0ee381627
commit
01c2848a83
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user