aboutsummaryrefslogtreecommitdiff
path: root/server/config
diff options
context:
space:
mode:
authorsid77 <sid77@slackware.it>2016-08-21 02:00:41 +0200
committerMarco Bonetti <marco@intercom.io>2016-08-26 10:04:41 +0100
commit4028762f4a81a59ccc6d6e5662fa7e341fc74336 (patch)
tree0124ed9d2cf5ef154c2d4923643d9bdcc1edb638 /server/config
parentbc966492134279c03458cab2ed2f2f51104ee283 (diff)
First attempt at dropping privileges
Diffstat (limited to 'server/config')
-rw-r--r--server/config/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/config/config.go b/server/config/config.go
index fb64f6c..f1341c1 100644
--- a/server/config/config.go
+++ b/server/config/config.go
@@ -31,6 +31,7 @@ type Server struct {
TLSCert string `mapstructure:"tls_cert"`
Addr string `mapstructure:"address"`
Port int `mapstructure:"port"`
+ User string `mapstructure:"user"`
CookieSecret string `mapstructure:"cookie_secret"`
CSRFSecret string `mapstructure:"csrf_secret"`
HTTPLogFile string `mapstructure:"http_logfile"`