mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-05 20:21:19 +02:00
Pull the session cookie properly
This commit is contained in:
@@ -222,7 +222,9 @@ export async function verifyResourceSession(
|
||||
}
|
||||
|
||||
const { blockAccess, mode } = resource;
|
||||
const dontStripSession = ["ssh", "rdp", "vnc"].includes(mode);
|
||||
const dontStripSession = ["ssh", "rdp", "vnc", "inference"].includes(
|
||||
mode
|
||||
);
|
||||
|
||||
if (blockAccess) {
|
||||
logger.debug("Resource blocked", host);
|
||||
|
||||
Reference in New Issue
Block a user