goldwarden/agent/systemauth/systemauth.go
2023-09-12 01:23:33 +02:00

18 lines
277 B
Go

package systemauth
import (
"os"
"github.com/quexten/goldwarden/logging"
)
var log = logging.GetLogger("Goldwarden", "Systemauth")
var systemAuthDisabled = false
func init() {
if os.Getenv("GOLDWARDEN_SYSTEM_AUTH_DISABLED") == "true" {
systemAuthDisabled = true
}
}