Fix delete method on RateLimiter's cache storage

This commit is contained in:
Greg ORIOL 2020-10-21 18:56:54 +02:00
parent 753932527e
commit fb540bba73
No known key found for this signature in database
GPG Key ID: 0BFE87CF5C13CDF4

View File

@ -52,6 +52,6 @@ class CacheStorage implements StorageInterface
public function delete(string $limiterStateId): void
{
$this->pool->deleteItem($limiterStateId);
$this->pool->deleteItem(sha1($limiterStateId));
}
}