diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2018-08-09 20:47:50 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2018-08-09 23:55:14 +0100 |
commit | d21fac6f190c1079ca247658530d465ad5867ff5 (patch) | |
tree | 568d5095602809c7edae3ff4272a68bfb015fe45 /server/config | |
parent | 347c11ec42264c579eb3f19494e4f75ab8bb8f0d (diff) |
Only request a reason from the client if the server requires it
Diffstat (limited to 'server/config')
-rw-r--r-- | server/config/config.go | 1 |
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. |