mirror of
https://github.com/quexten/goldwarden.git
synced 2024-12-24 03:44:48 +03:00
17 lines
272 B
Go
17 lines
272 B
Go
package pinentry
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/quexten/goldwarden/logging"
|
|
)
|
|
|
|
var log = logging.GetLogger("Goldwarden", "Pinentry")
|
|
var systemAuthDisabled = false
|
|
|
|
func init() {
|
|
if os.Getenv("GOLDWARDEN_SYSTEM_AUTH_DISABLED") == "true" {
|
|
systemAuthDisabled = true
|
|
}
|
|
}
|