mardi 1 octobre 2019

How to validate special type of content in email in laravel

I want to give access only for @gmail.com address,but not for @outlook.com address how to code this logic in laravel

'email' => ['required', 'string', 'email', 'max:255', 'unique:users'],//this is my email validation code



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire