@sanjish as you can imagine, Route::has checks named route existance.
So, if you have login route defined - it will display the Login button with the link to your login page
If it's not - the Login button will not be displayed
Hello All, I am new to Laravel 8 and cant understand meaning of @if(Route::has('login')). It passes this condition even though my web.php has no Route for Login. My web.php is like
@sanjish it's because you have installed the Laravel authentication using Laravel UI/Breeze/Jetstream. Kindly Check the route list by performing below command in your terminal you will probably get idea about it..
php artisan route:list
Please or to participate in this conversation.