diff --git a/api/globalconfig/types.go b/api/globalconfig/types.go index aaac7b0ea..42d649e92 100644 --- a/api/globalconfig/types.go +++ b/api/globalconfig/types.go @@ -88,6 +88,7 @@ type Influx struct { Org string `json:"org"` User string `json:"user"` Password string `json:"password"` + Insecure bool `json:"insecure"` } // Redacted implements the redactor interface used by the tee publisher @@ -98,11 +99,13 @@ func (c Influx) Redacted() any { Database string `json:"database"` Org string `json:"org"` User string `json:"user"` + Insecure bool `json:"insecure"` }{ URL: c.URL, Database: c.Database, Org: c.Org, User: c.User, + Insecure: c.Insecure, } } diff --git a/assets/js/components/Config/InfluxModal.vue b/assets/js/components/Config/InfluxModal.vue index 914ecddc9..65153d174 100644 --- a/assets/js/components/Config/InfluxModal.vue +++ b/assets/js/components/Config/InfluxModal.vue @@ -73,6 +73,19 @@ autocomplete="off" /> + +
+ + +
+