From b020490255870ad2b539c61fd162d519b7c22666 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Fri, 13 Jan 2017 15:05:57 -0800 Subject: adding test to fix bool conversion with schema --- system/admin/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/admin') diff --git a/system/admin/config/config.go b/system/admin/config/config.go index 5504830..76d97eb 100644 --- a/system/admin/config/config.go +++ b/system/admin/config/config.go @@ -79,7 +79,7 @@ func (c *Config) MarshalEditor() ([]byte, error) { View: editor.Checkbox("DisableCORS", c, map[string]string{ "label": "Disable CORS (so only " + c.Domain + " can fetch your data)", }, map[string]string{ - "true": "Disable", + "on": "Disable", }), }, editor.Field{ -- cgit v1.2.3