diff --git a/app/Livewire/EmailSubscribe.php b/app/Livewire/EmailSubscribe.php index 36bc8b6..11edb42 100644 --- a/app/Livewire/EmailSubscribe.php +++ b/app/Livewire/EmailSubscribe.php @@ -30,13 +30,13 @@ class EmailSubscribe extends Component } // Simple rate limiting per session - $attempts = session('subscribe_attempts', 0); - if ($attempts >= 5) { - $this->success = false; - $this->message = 'Too many attempts. Please try again in a little while.'; - return; - } - session(['subscribe_attempts' => $attempts + 1]); +// $attempts = session('subscribe_attempts', 0); +// if ($attempts >= 5) { +// $this->success = false; +// $this->message = 'Too many attempts. Please try again in a little while.'; +// return; +// } +// session(['subscribe_attempts' => $attempts + 1]); $this->validate(); diff --git a/app/Mail/UserWelcome.php b/app/Mail/UserWelcome.php index 9b7cc30..891ae17 100644 --- a/app/Mail/UserWelcome.php +++ b/app/Mail/UserWelcome.php @@ -25,7 +25,7 @@ class UserWelcome extends Mailable ->markdown('emails.welcome') ->with([ 'email' => $this->email, - 'unsubscribe' => $this->unsubscribeLink + 'unsubscribeLink' => $this->unsubscribeLink ]); } }