goldwarden-vaultwarden-bitw.../agent/systemauth/systemauth.go

18 lines
277 B
Go
Raw Normal View History

2023-08-21 18:37:34 +02:00
package systemauth
2023-09-12 01:22:48 +02:00
import (
"os"
"github.com/quexten/goldwarden/logging"
)
var log = logging.GetLogger("Goldwarden", "Systemauth")
2023-08-21 18:37:34 +02:00
var systemAuthDisabled = false
func init() {
if os.Getenv("GOLDWARDEN_SYSTEM_AUTH_DISABLED") == "true" {
systemAuthDisabled = true
}
}