[core,gateway] make http authentication work again for websocket transport

This commit is contained in:
akarl10 2023-06-28 10:51:12 +02:00 committed by akallabeth
parent 27a5ea64f0
commit 8d707adcb2
1 changed files with 1 additions and 3 deletions

View File

@ -410,8 +410,6 @@ static BOOL wst_handle_denied(rdpWst* wst, HttpResponse** ppresponse, long* pSta
WINPR_ASSERT(*ppresponse);
WINPR_ASSERT(pStatusCode);
BOOL success = FALSE;
if (freerdp_settings_get_string(wst->settings, FreeRDP_GatewayHttpExtAuthBearer))
return FALSE;
@ -442,7 +440,7 @@ static BOOL wst_handle_denied(rdpWst* wst, HttpResponse** ppresponse, long* pSta
}
}
*pStatusCode = http_response_get_status_code(*ppresponse);
return success;
return TRUE;
}
BOOL wst_connect(rdpWst* wst, DWORD timeout)