This commit is contained in:
Bolke de Bruin
2022-10-06 09:36:33 +02:00
parent 04988650e8
commit 81abbf7633

View File

@@ -201,7 +201,7 @@ func (h *Handler) HandleDownload(w http.ResponseWriter, r *http.Request) {
rdp.Connection.Domain = domain rdp.Connection.Domain = domain
rdp.Connection.FullAddress = host rdp.Connection.FullAddress = host
rdp.Connection.GatewayHostname = h.gatewayAddress.Host rdp.Connection.GatewayHostname = h.gatewayAddress.Host
rdp.Connection.GatewayCredentialSource = SourceCookie rdp.Connection.GatewayCredentialsSource = SourceCookie
rdp.Connection.GatewayAccessToken = token rdp.Connection.GatewayAccessToken = token
rdp.Session.NetworkAutodetect = opts.NetworkAutoDetect != 0 rdp.Session.NetworkAutodetect = opts.NetworkAutoDetect != 0
rdp.Session.BandwidthAutodetect = opts.BandwidthAutoDetect != 0 rdp.Session.BandwidthAutodetect = opts.BandwidthAutoDetect != 0