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