From aa39cefcf1b1e2eacedd3c8979c311284322821b Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Thu, 17 Sep 2020 21:59:41 -0600 Subject: [PATCH] Fix AllowedMounts value from potentially being overwritten remotely --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index 5dc4643..0f6c3ce 100644 --- a/config/config.go +++ b/config/config.go @@ -63,7 +63,7 @@ type Configuration struct { // AllowedMounts is a list of allowed host-system mount points. // This is required to have the "Server Mounts" feature work properly. - AllowedMounts []string `json:"allowed_mounts" yaml:"allowed_mounts"` + AllowedMounts []string `json:"-" yaml:"allowed_mounts"` // AllowedOrigins is a list of allowed request origins. // The Panel URL is automatically allowed, this is only needed for adding