ali_254 Posted June 29, 2021 Share Posted June 29, 2021 (edited) hi , i install "Laravel Jetstream" . this package insert many file in project... for example add this files: login.blade.php register.blade.php in login.blade.php , This code exists by default: <form method="POST" action="{{ route('login') }}"> but , in file web.php , i dont find this route, i only found this code: Route::middleware(['auth:sanctum', 'verified'])->get('/dashboard', function () { return view('dashboard',compact('users')); })->name('dashboard'); "{{ route('login') }}" , Where does it refer? Edited June 29, 2021 by ali_254 Quote Link to comment Share on other sites More sharing options...
requinix Posted June 29, 2021 Share Posted June 29, 2021 Some routes are set up in ways other than web.php - look at the auth system, which is what normally handles logins. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.