Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(security): restore owner device verification

Steven Enamakela2a9f4940232
diff --git a/crates/openhuman-core/src/security/devices/owner.rs b/crates/openhuman-core/src/security/devices/owner.rs
index b59ffe4338..ea415b5f12 100644
--- a/crates/openhuman-core/src/security/devices/owner.rs
+++ b/crates/openhuman-core/src/security/devices/owner.rs
@@ -151,7 +151,7 @@ pub(super) async fn owner_of(
}
}
let lookups = crate::storage::agents::for_each_scope("device owner", |scope_ctx| {
- has_live_device_in(scope_ctx, channel_id)
+ has_live_device(&scope_ctx, channel_id)
})
.await;
let owner = decide(lookups)?;