client: include hostname property in login challenge

This commit is contained in:
Koushik Dutta
2023-06-02 15:36:05 -07:00
parent c658cee5c9
commit 0a4ea032f5

View File

@@ -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,