test(access): use host token in privacy gate

This commit is contained in:
AAA authored and GitHub committed 2026-08-25 01:56:30 +08:00
1 parent d9cdb55cfc
commit 928068fb01
1 file changed
+1 -1
+1 -1
View File
@@ -125,7 +125,7 @@ async function main(): Promise<void> {
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}`,