feat: add api key auth to web api (#183)

This commit is contained in:
Gabe Farrell 2026-01-26 13:48:43 -05:00 committed by GitHub
parent bf1c03e9fd
commit 42b32c7920
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 418 additions and 332 deletions

7
internal/cfg/setters.go Normal file
View file

@ -0,0 +1,7 @@
package cfg
func SetLoginGate(val bool) {
lock.Lock()
defer lock.Unlock()
globalConfig.loginGate = val
}