From 928068fb01f68ee8922aba2ab0ce9dde44bb180a Mon Sep 17 00:00:00 2001 From: AAA <35992542+TNTcraftHIM@users.noreply.github.com> Date: Tue, 25 Aug 2026 01:56:30 +0800 Subject: [PATCH] test(access): use host token in privacy gate --- scripts/access-privacy-gate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/access-privacy-gate.ts b/scripts/access-privacy-gate.ts index a3ed26f..ad4aa9c 100644 --- a/scripts/access-privacy-gate.ts +++ b/scripts/access-privacy-gate.ts @@ -125,7 +125,7 @@ async function main(): Promise { roomId: room.roomId, role: "host", token: room.hostToken, clientId: "privacy-gate-host", sessionId: "privacy-gate-host-session", }); - await server.roomStore.setViewerPassword(room.roomId, roomPassword, "privacy-gate-host-session"); + await server.roomStore.setViewerPassword(room.roomId, roomPassword, room.hostToken); report.roomPrepared = true; chrome = spawn(chromePath, [ `--remote-debugging-port=${debugPort}`, `--user-data-dir=${profile}`,