1
0
mirror of https://github.com/flarum/core.git synced 2025-07-19 07:41:22 +02:00
Files
php-flarum/framework
Alexander Skvortsov 16cc1e48ef Restore stricter email validation
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
2020-10-07 15:33:57 -04:00
..
2020-10-07 15:33:57 -04:00