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] [auth]
# JWT encoding key # JWT secret
key = "a key" secret = "a key"
# Disable registration # Disable registration
disabled = false disabled = false

View File

@ -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"`
} }