From a229feac1e43bd93a8f4a27813e9756c60cb8d0a Mon Sep 17 00:00:00 2001 From: Moby von Briesen Date: Wed, 3 May 2023 18:12:48 -0400 Subject: [PATCH] satellite/console: Pass pricing packages enabled config to frontend Ensure that the value of "pricing packages enabled" flag on frontend is the same as what is configured on the backend. Change-Id: Id78771800a4973ebd3ad4e22f1953f6f71c75dd4 --- satellite/console/consoleweb/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/satellite/console/consoleweb/server.go b/satellite/console/consoleweb/server.go index 9e3c1d572..c39601b13 100644 --- a/satellite/console/consoleweb/server.go +++ b/satellite/console/consoleweb/server.go @@ -536,6 +536,7 @@ func (server *Server) frontendConfigHandler(w http.ResponseWriter, r *http.Reque PasswordMinimumLength: console.PasswordMinimumLength, PasswordMaximumLength: console.PasswordMaximumLength, ABTestingEnabled: server.config.ABTesting.Enabled, + PricingPackagesEnabled: server.config.PricingPackagesEnabled, } err := json.NewEncoder(w).Encode(&cfg)