Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: lower case email on waitlist

Andras Bacsai52c84f8d22ef
diff --git a/app/Http/Livewire/Waitlist/Index.php b/app/Http/Livewire/Waitlist/Index.php
index fb040c6d54..d2ce6fe190 100644
--- a/app/Http/Livewire/Waitlist/Index.php
+++ b/app/Http/Livewire/Waitlist/Index.php
@@ -6,6 +6,7 @@ use App\Jobs\SendConfirmationForWaitlistJob;
use App\Models\User;
use App\Models\Waitlist;
use Livewire\Component;
+use Str;
class Index extends Component
{
@@ -46,7 +47,7 @@ class Index extends Component
return;
}
$waitlist = Waitlist::create([
- 'email' => $this->email,
+ 'email' => Str::lower($this->email),
'type' => 'registration',
]);