fix: rate limit

This commit is contained in:
Andras Bacsai 2023-09-14 18:49:15 +02:00
parent bb591604ac
commit 7a429ee5bb

View File

@ -28,7 +28,7 @@ public function mount()
public function submit() public function submit()
{ {
try { try {
// $this->rateLimit(1, 1); $this->rateLimit(1, 60);
$this->validate(); $this->validate();
$subscriptionType = auth()->user()?->subscription?->type() ?? 'Free'; $subscriptionType = auth()->user()?->subscription?->type() ?? 'Free';
$debug = "Route: {$this->path}"; $debug = "Route: {$this->path}";