middleware(['web', 'guest'])->group(function ($router) { $router->get('/login', LoginForm::class)->name('login'); $router->get('/password/reset', PasswordReset::class)->name('password.request'); $router->get('/password/reset/{token}', PasswordResetConfirm::class)->name('password.reset'); }); } }