mirror of
https://github.com/quexten/goldwarden.git
synced 2024-12-25 12:22:12 +03:00
12 lines
173 B
Go
12 lines
173 B
Go
|
package systemauth
|
||
|
|
||
|
import "os"
|
||
|
|
||
|
var systemAuthDisabled = false
|
||
|
|
||
|
func init() {
|
||
|
if os.Getenv("GOLDWARDEN_SYSTEM_AUTH_DISABLED") == "true" {
|
||
|
systemAuthDisabled = true
|
||
|
}
|
||
|
}
|