check()) { return redirect()->route('dashboard'); } return view('home'); }); require __DIR__ . '/auth.php';