mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 17:08:27 +00:00
fix(gateway): auto-approve loopback scope upgrades
Co-authored-by: Marcus Widing <245375637+widingmarcus-cyber@users.noreply.github.com>
This commit is contained in:
@@ -604,7 +604,7 @@ export function attachGatewayWsMessageHandler(params: {
|
||||
deviceId: device.id,
|
||||
publicKey: devicePublicKey,
|
||||
...clientAccessMetadata,
|
||||
silent: isLocalClient && reason === "not-paired",
|
||||
silent: isLocalClient && (reason === "not-paired" || reason === "scope-upgrade"),
|
||||
});
|
||||
const context = buildRequestContext();
|
||||
if (pairing.request.silent === true) {
|
||||
|
||||
Reference in New Issue
Block a user