Skip to content

Commit

Permalink
Update config parameter name to match other options.
Browse files Browse the repository at this point in the history
  • Loading branch information
fancycode committed Aug 28, 2020
1 parent 66d860b commit c6892dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion proxy.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/proxy/proxy_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit c6892dc

Please sign in to comment.