summaryrefslogtreecommitdiff
path: root/config/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/config.go')
-rw-r--r--config/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go
index a73bf23..2de3c36 100644
--- a/config/config.go
+++ b/config/config.go
@@ -47,5 +47,6 @@ func Init() {
ProtectAPI: getEnvAsBool("PROTECT_API", false),
FrontPath: getEnv("FRONT_PATH", "/"),
APIPath: getEnv("API_PATH", "/api/"),
+ RegisterEnabled: getEnvAsBool("REGISTER", true),
}
}