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
This commit is contained in:
parent
034431e4a8
commit
a229feac1e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user