From 7cc2e6d9e83f76df6d0e5cf0e1ed0ccd3bcb16fd Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Mon, 16 Aug 2021 20:52:41 +0100 Subject: [PATCH] stopped sending config unless asked in default url --- src/structs/structs.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/structs/structs.go b/src/structs/structs.go index 358a0da..12197c3 100644 --- a/src/structs/structs.go +++ b/src/structs/structs.go @@ -30,7 +30,7 @@ type Service struct { Server string `yaml:"Server"` Port int `yaml:"Port"` SocketType string `yaml:"SocketType"` - SPA bool `yaml:"SPA"` + SPA bool `yaml:"SPA"` UsernameIsFQDN bool `yaml:"UsernameIsFQDN"` RequireLocalDomain bool `yaml:"RequireLocalDomain"` NoAuthRequired bool `yaml:"NoAuthRequired"` @@ -50,8 +50,8 @@ type Response struct { ContentType string `json:"content_type"` Message string `json:"message"` Content map[string]interface{} `json:"content"` - Config Config - Email string + Config Config `json:"_"` + Email string `json:"_"` } type MSAutodiscoverJSONResponse struct { // More work to do - handling of MS Autodiscover.json requests