Renamed key to secret

This commit is contained in:
perp 2024-06-03 13:42:05 +01:00
parent 16530f43d9
commit b94b872f3f
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
[auth]
# JWT encoding key
key = "a key"
# JWT secret
secret = "a key"
# Disable registration
disabled = false

View File

@ -24,7 +24,7 @@ type Config struct {
// Auth configuration
type Auth struct {
Key string `toml:"key`
Secret string `toml:"secret"`
Disabled bool `toml:"disabled"`
}