Update config parameter name to match other options.

This commit is contained in:
Joachim Bauch 2020-08-28 17:04:29 +02:00
parent 66d860bd79
commit c6892dcb2a
Failed to extract signature
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@
# Possible values:
# - static: A mapping of token id -> public key is configured below.
# - etcd: Token information are retrieved from an etcd cluster (see below).
token_type = static
tokentype = static
[sessions]
# Secret value used to generate checksums of sessions. This should be a random

View file

@ -131,7 +131,7 @@ func NewProxyServer(r *mux.Router, version string, config *goconf.ConfigFile, na
var tokens ProxyTokens
var err error
tokenType, _ := config.GetString("app", "token_type")
tokenType, _ := config.GetString("app", "tokentype")
if tokenType == "" {
tokenType = TokenTypeDefault
}