gateway: auto-approve device pairing for Tailscale-authenticated connections
This commit is contained in:
parent
4583f88626
commit
a403ddb1c4
@ -634,7 +634,7 @@ export function attachGatewayWsMessageHandler(params: {
|
|||||||
role,
|
role,
|
||||||
scopes,
|
scopes,
|
||||||
remoteIp: reportedClientIp,
|
remoteIp: reportedClientIp,
|
||||||
silent: isLocalClient,
|
silent: isLocalClient || authMethod === "tailscale",
|
||||||
});
|
});
|
||||||
const context = buildRequestContext();
|
const context = buildRequestContext();
|
||||||
if (pairing.request.silent === true) {
|
if (pairing.request.silent === true) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user