aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--application_context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/application_context.go b/application_context.go
index 5db8843..c635dc9 100644
--- a/application_context.go
+++ b/application_context.go
@@ -24,7 +24,7 @@ import (
type Config struct {
ServerAddress string `json:"server_address" binding:"required,ip|cidr" bson:"server_address"`
- FlagRegex string `json:"flag_regex" binding:"required,min=8" bson:"flag_regex"`
+ FlagRegex string `json:"flag_regex" binding:"required,min=1" bson:"flag_regex"`
AuthRequired bool `json:"auth_required" bson:"auth_required"`
}