From e4e132c27381475ae3402654c181956932384556 Mon Sep 17 00:00:00 2001 From: Bolke de Bruin Date: Tue, 30 Aug 2022 11:49:19 +0200 Subject: [PATCH] Remove "connect" endpoint if using local-auth --- cmd/rdpgw/main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/rdpgw/main.go b/cmd/rdpgw/main.go index 2f26673..8f05a93 100644 --- a/cmd/rdpgw/main.go +++ b/cmd/rdpgw/main.go @@ -165,7 +165,6 @@ func main() { } if conf.Server.Authentication == "local" { - http.Handle("/connect", common.EnrichContext(api.BasicAuth(api.HandleDownload))) http.Handle("/remoteDesktopGateway/", common.EnrichContext(api.BasicAuth(gw.HandleGatewayProtocol))) } else { // openid