|
|
@ -16,10 +16,10 @@ use App\Http\Controllers\HomeController; |
|
|
|
*/ |
|
|
|
|
|
|
|
Route::get('/', function () { |
|
|
|
return redirect()->route('login'); |
|
|
|
return redirect()->route('dashboard'); |
|
|
|
}); |
|
|
|
|
|
|
|
Auth::routes(['register'=>false,'reset'=>false]); |
|
|
|
Auth::routes(['register'=>true,'reset'=>true]); |
|
|
|
|
|
|
|
// Rutas protegidas que requieren autenticación |
|
|
|
Route::middleware(['auth'])->group(function () { |
|
|
|