Fix delete method on RateLimiter's cache storage
This commit is contained in:
parent
753932527e
commit
fb540bba73
@ -52,6 +52,6 @@ class CacheStorage implements StorageInterface
|
||||
|
||||
public function delete(string $limiterStateId): void
|
||||
{
|
||||
$this->pool->deleteItem($limiterStateId);
|
||||
$this->pool->deleteItem(sha1($limiterStateId));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user