mirror of
https://github.com/quexten/goldwarden.git
synced 2025-01-10 18:12:35 +01:00
Fix some env flags
This commit is contained in:
parent
f5190dc41e
commit
6d0424eb82
4
main.go
4
main.go
@ -27,7 +27,9 @@ func main() {
|
|||||||
configPath = strings.ReplaceAll(configPath, "~", userHome)
|
configPath = strings.ReplaceAll(configPath, "~", userHome)
|
||||||
|
|
||||||
runtimeConfig := config.RuntimeConfig{
|
runtimeConfig := config.RuntimeConfig{
|
||||||
DisableAuth: os.Getenv("GOLDWARDEN_WEBSOCKET_DISABLED") == "true",
|
WebsocketDisabled: os.Getenv("GOLDWARDEN_WEBSOCKET_DISABLED") == "true",
|
||||||
|
DisableSSHAgent: os.Getenv("GOLDWARDEN_SSH_AGENT_DISABLED") == "true",
|
||||||
|
DisableAuth: os.Getenv("GOLDWARDEN_SYSTEM_AUTH_DISABLED") == "true",
|
||||||
DisablePinRequirement: os.Getenv("GOLDWARDEN_PIN_REQUIREMENT_DISABLED") == "true",
|
DisablePinRequirement: os.Getenv("GOLDWARDEN_PIN_REQUIREMENT_DISABLED") == "true",
|
||||||
DoNotPersistConfig: os.Getenv("GOLDWARDEN_DO_NOT_PERSIST_CONFIG") == "true",
|
DoNotPersistConfig: os.Getenv("GOLDWARDEN_DO_NOT_PERSIST_CONFIG") == "true",
|
||||||
ApiURI: os.Getenv("GOLDWARDEN_API_URI"),
|
ApiURI: os.Getenv("GOLDWARDEN_API_URI"),
|
||||||
|
Loading…
Reference in New Issue
Block a user