mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2026-03-29 15:06:36 +00:00
Remove "connect" endpoint if using local-auth
This commit is contained in:
@@ -165,7 +165,6 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if conf.Server.Authentication == "local" {
|
if conf.Server.Authentication == "local" {
|
||||||
http.Handle("/connect", common.EnrichContext(api.BasicAuth(api.HandleDownload)))
|
|
||||||
http.Handle("/remoteDesktopGateway/", common.EnrichContext(api.BasicAuth(gw.HandleGatewayProtocol)))
|
http.Handle("/remoteDesktopGateway/", common.EnrichContext(api.BasicAuth(gw.HandleGatewayProtocol)))
|
||||||
} else {
|
} else {
|
||||||
// openid
|
// openid
|
||||||
|
|||||||
Reference in New Issue
Block a user