mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-06-08 00:42:25 +02:00
Update config parameter name to match other options.
This commit is contained in:
parent
66d860bd79
commit
c6892dcb2a
|
@ -18,7 +18,7 @@
|
||||||
# Possible values:
|
# Possible values:
|
||||||
# - static: A mapping of token id -> public key is configured below.
|
# - static: A mapping of token id -> public key is configured below.
|
||||||
# - etcd: Token information are retrieved from an etcd cluster (see below).
|
# - etcd: Token information are retrieved from an etcd cluster (see below).
|
||||||
token_type = static
|
tokentype = static
|
||||||
|
|
||||||
[sessions]
|
[sessions]
|
||||||
# Secret value used to generate checksums of sessions. This should be a random
|
# Secret value used to generate checksums of sessions. This should be a random
|
||||||
|
|
|
@ -131,7 +131,7 @@ func NewProxyServer(r *mux.Router, version string, config *goconf.ConfigFile, na
|
||||||
|
|
||||||
var tokens ProxyTokens
|
var tokens ProxyTokens
|
||||||
var err error
|
var err error
|
||||||
tokenType, _ := config.GetString("app", "token_type")
|
tokenType, _ := config.GetString("app", "tokentype")
|
||||||
if tokenType == "" {
|
if tokenType == "" {
|
||||||
tokenType = TokenTypeDefault
|
tokenType = TokenTypeDefault
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue