Browse Source

registrarse

main
sergiomarquez778 1 month ago
parent
commit
32c9254c23
  1. 4
      routes/web.php

4
routes/web.php

@ -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 () {

Loading…
Cancel
Save