Remove "connect" endpoint if using local-auth
This commit is contained in:
parent
b92469cbe3
commit
e4e132c273
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user