mirror of
https://github.com/flarum/framework.git
synced 2025-03-14 06:45:14 +08:00

In v5.8, Laravel expanded email validation logic to closer match the RFC. This, however, allows emails that aren't conventional (for example, emails lacking a TLD). This commit changes Flarum's UserValidator to use the `email:filter` validator, which uses PHP's filter_var, and is the pre-5.8 behavior. See https://laravel.com/docs/5.8/validation#rule-email
Description
Simple forum software for building great communities.
202 MiB
Languages
PHP
60.7%
TypeScript
26%
JavaScript
7.9%
Less
4.4%
Blade
0.8%
Other
0.2%