add validaion in auth middlewhare laravel 5.8 code example Example: laravel auth // Laravel 5.x php artisan make:auth