diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-10-21 12:46:51 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-10-21 12:46:51 -0700 |
commit | 5774f56b2ba029b0401a6c1b3956d9f1b6017356 (patch) | |
tree | 3b733cc067a0d7f8c69f654622c1a158952f8971 /system/admin/config/config.go | |
parent | aa97af279e0ad3fdda3e2ee7cf22e90d63b268c4 (diff) |
adding initial support for TLS encryption via Lets Encrypt
Diffstat (limited to 'system/admin/config/config.go')
-rw-r--r-- | system/admin/config/config.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/system/admin/config/config.go b/system/admin/config/config.go index c83c311..66f767d 100644 --- a/system/admin/config/config.go +++ b/system/admin/config/config.go @@ -12,6 +12,7 @@ type Config struct { Name string `json:"name"` Domain string `json:"domain"` + AdminEmail string `json:"admin_email"` ClientSecret string `json:"client_secret"` Etag string `json:"etag"` CacheInvalidate []string `json:"-"` @@ -48,8 +49,13 @@ func (c *Config) MarshalEditor() ([]byte, error) { }), }, editor.Field{ + View: editor.Input("AdminEmail", c, map[string]string{ + "label": "Adminstrator Email (will be notified of internal system information)", + }), + }, + editor.Field{ View: editor.Input("ClientSecret", c, map[string]string{ - "label": "Client Secret (used to validate requests)", + "label": "Client Secret (used to validate requests, DO NOT SHARE)", "disabled": "true", }), }, |