YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix: move API auth toggle from general to privacy settings
Louis Beaumont45b21eca36f6
diff --git a/apps/screenpipe-app-tauri/components/settings/general-settings.tsx b/apps/screenpipe-app-tauri/components/settings/general-settings.tsxindex 479eac8c2..551739660 100644--- a/apps/screenpipe-app-tauri/components/settings/general-settings.tsx+++ b/apps/screenpipe-app-tauri/components/settings/general-settings.tsx@@ -388,32 +388,6 @@ export default function GeneralSettings() {</CardContent></Card>- {/* API Authentication */}- <Card>- <CardContent className="pt-6">- <div className="flex items-center justify-between">- <div className="flex items-center space-x-3">- <Shield className="h-5 w-5 text-muted-foreground" />- <div>- <Label className="text-sm font-medium">- require API authentication- </Label>- <p className="text-xs text-muted-foreground mt-0.5">- remote devices must use the same account to access this API.- localhost is always allowed.- </p>- </div>- </div>- <Switch- checked={settings.apiAuth ?? false}- onCheckedChange={(checked) => {- handleSettingsChange({ apiAuth: checked });- }}- />- </div>- </CardContent>- </Card>-</div>);}diff --git a/apps/screenpipe-app-tauri/components/settings/privacy-section.tsx b/apps/screenpipe-app-tauri/components/settings/privacy-section.tsxindex 0d58dc278..82c88c234 100644--- a/apps/screenpipe-app-tauri/components/settings/privacy-section.tsx+++ b/apps/screenpipe-app-tauri/components/settings/privacy-section.tsx@@ -1070,6 +1070,33 @@ export function PrivacySection() {</LockedSetting></div>+ {/* API Authentication */}+ <div className="space-y-2">+ <Card className="border-border bg-card">+ <CardContent className="px-3 py-2.5">+ <div className="flex items-center justify-between">+ <div className="flex items-center space-x-2.5">+ <Shield className="h-4 w-4 text-muted-foreground shrink-0" />+ <div>+ <h3 className="text-sm font-medium text-foreground">+ require API authentication+ </h3>+ <p className="text-xs text-muted-foreground mt-0.5">+ remote devices must use the same account to access this API. localhost is always allowed.+ </p>+ </div>+ </div>+ <Switch+ checked={settings.apiAuth ?? false}+ onCheckedChange={(checked) => {+ handleSettingsChange({ apiAuth: checked });+ }}+ />+ </div>+ </CardContent>+ </Card>+ </div>+{/* Floating apply & restart button */}{hasUnsavedChanges && (<div className="sticky bottom-4 flex justify-end pointer-events-none z-50">