header('X-Inertia')) { return back()->with('error', 'Source control is not connected.'); } return null; } }