We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a67bcf0 + 98144ab commit 132bb8bCopy full SHA for 132bb8b
src/WithRateLimiting.php
@@ -24,7 +24,7 @@ protected function getRateLimitKey($method, $component = null)
24
25
$component ??= static::class;
26
27
- return sha1($component.'|'.$method.'|'.request()->ip());
+ return 'livewire-rate-limiter:'.sha1($component.'|'.$method.'|'.request()->ip());
28
}
29
30
protected function hitRateLimiter($method = null, $decaySeconds = 60, $component = null)
0 commit comments