aboutsummaryrefslogtreecommitdiff
path: root/server/config/config.go
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2018-08-09 20:47:50 +0100
committerNiall Sheridan <nsheridan@gmail.com>2018-08-09 23:55:14 +0100
commitd21fac6f190c1079ca247658530d465ad5867ff5 (patch)
tree568d5095602809c7edae3ff4272a68bfb015fe45 /server/config/config.go
parent347c11ec42264c579eb3f19494e4f75ab8bb8f0d (diff)
Only request a reason from the client if the server requires it
Diffstat (limited to 'server/config/config.go')
-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 422a135..1985800 100644
--- a/server/config/config.go
+++ b/server/config/config.go
@@ -37,6 +37,7 @@ type Server struct {
CSRFSecret string `hcl:"csrf_secret"`
HTTPLogFile string `hcl:"http_logfile"`
Database Database `hcl:"database"`
+ RequireReason bool `hcl:"require_reason"`
}
// Auth holds the configuration specific to the OAuth provider.