Renamed key to secret
This commit is contained in:
parent
16530f43d9
commit
b94b872f3f
@ -1,6 +1,6 @@
|
|||||||
[auth]
|
[auth]
|
||||||
# JWT encoding key
|
# JWT secret
|
||||||
key = "a key"
|
secret = "a key"
|
||||||
# Disable registration
|
# Disable registration
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ type Config struct {
|
|||||||
|
|
||||||
// Auth configuration
|
// Auth configuration
|
||||||
type Auth struct {
|
type Auth struct {
|
||||||
Key string `toml:"key`
|
Secret string `toml:"secret"`
|
||||||
Disabled bool `toml:"disabled"`
|
Disabled bool `toml:"disabled"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user