aboutsummaryrefslogtreecommitdiff
path: root/config/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/config.go')
-rw-r--r--config/config.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/config/config.go b/config/config.go
index 78eb6a8..ed9dab3 100644
--- a/config/config.go
+++ b/config/config.go
@@ -14,8 +14,9 @@ var (
)
var (
- DataDir string
- DevMode bool
+ AuthEnabled bool
+ DataDir string
+ DevMode bool
)
func init() {
@@ -34,5 +35,7 @@ func init() {
}
}
+ AuthEnabled = isAuthEnabled()
+
logger.Successf(LOG_PREFIX, messages.ConfigLoaded)
}