Remove "connect" endpoint if using local-auth

This commit is contained in:
Bolke de Bruin 2022-08-30 11:49:19 +02:00
parent b92469cbe3
commit e4e132c273

View File

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