From 16530f43d9915628934bd57765e0e9be4259ac1b Mon Sep 17 00:00:00 2001 From: perp Date: Mon, 3 Jun 2024 13:19:29 +0100 Subject: [PATCH] Added key for auth --- internal/config/config.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/config/config.go b/internal/config/config.go index 0fc2f0b..2613f01 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -24,7 +24,8 @@ type Config struct { // Auth configuration type Auth struct { - Disabled bool `toml:"disabled"` + Key string `toml:"key` + Disabled bool `toml:"disabled"` } // Server configuration