mirror of
https://github.com/cupcakearmy/coolify.git
synced 2024-10-22 16:14:22 +02:00
fix: lower case email on waitlist
This commit is contained in:
parent
b22fecb615
commit
52c84f8d22
@ -6,6 +6,7 @@
|
|||||||
use App\Models\User;
|
use App\Models\User;
|
||||||
use App\Models\Waitlist;
|
use App\Models\Waitlist;
|
||||||
use Livewire\Component;
|
use Livewire\Component;
|
||||||
|
use Str;
|
||||||
|
|
||||||
class Index extends Component
|
class Index extends Component
|
||||||
{
|
{
|
||||||
@ -46,7 +47,7 @@ public function submit()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$waitlist = Waitlist::create([
|
$waitlist = Waitlist::create([
|
||||||
'email' => $this->email,
|
'email' => Str::lower($this->email),
|
||||||
'type' => 'registration',
|
'type' => 'registration',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user