From 0a4ea032f57e4d6287944fd35fd0fa2b2f6a1c07 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Fri, 2 Jun 2023 15:36:05 -0700 Subject: [PATCH] client: include hostname property in login challenge --- packages/client/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/client/src/index.ts b/packages/client/src/index.ts index 517d6f09d..8cd152779 100644 --- a/packages/client/src/index.ts +++ b/packages/client/src/index.ts @@ -161,6 +161,7 @@ export async function checkScryptedClientLogin(options?: ScryptedConnectionOptio const directAddress = response.headers['x-scrypted-direct-address']; return { + hostname: response.data.hostname as string, redirect: response.data.redirect as string, username: response.data.username as string, expiration: response.data.expiration as number,