filamentphp / filament

A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS.
https://filamentphp.com
MIT License
19.47k stars 2.97k forks source link

Email not accepted for admin use in dev mode #14697

Closed CraigAllenNel closed 3 weeks ago

CraigAllenNel commented 3 weeks ago

Package

filament/filament

Package Version

v3.2.118

Laravel Version

v11.30.0

Livewire Version

v3.5.12

PHP Version

8.2.12

Problem description

default email addresses must look like email addresses, however, it does not accept user@localhost. I use Mercury with Xampp. when setting up Mercury (email server - packaged with Xampp) with Thunderbird I can do email notification testing on my local machine. Please can you add an exception for this, as I have to always add a .com after localhost and then once an admin is registered via cmd prompt using "php artisan make:filament-user", then I must return to the user table on the mysql server and remove the .com. That is my workaround. Filament is a great addition to Web Dev. Thank you for your consideration in this. If you need further info from me please don't hesitate to contact me. craignel@godspeed@gmail.com

Expected behavior

Hope to add the exception of just localhost after the @ symbol in an email address without .com at the end.

Steps to reproduce

when an email is @localhost to accept no .com after it

Reproduction repository (issue will be closed if this is not valid)

php artisan make:filament-user

Relevant log output

No response

Donate 💰 to fund this issue

Fund with Polar

github-actions[bot] commented 3 weeks ago

Hey @CraigAllenNel! We're sorry to hear that you've hit this issue. 💛

However, it looks like you forgot to fill in the reproduction repository URL. Can you edit your original post and then we'll look at your issue?

We need a public GitHub repository which contains a Laravel app with the minimal amount of Filament code to reproduce the problem. Please do not link to your actual project, what we need instead is a minimal reproduction in a fresh project without any unnecessary code. This means it doesn't matter if your real project is private / confidential, since we want a link to a separate, isolated reproduction. That would allow us to download it and review your bug much easier, so it can be fixed quicker. Please make sure to include a database seeder with everything we need to set the app up quickly.