We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1386132 + 0f8b4b5 commit f650124Copy full SHA for f650124
dyndns/model/host.go
@@ -14,7 +14,7 @@ type Host struct {
14
Ip string `form:"ip" validate:"omitempty,ipv4"`
15
Ttl int `form:"ttl" validate:"required,min=20,max=86400"`
16
LastUpdate time.Time `form:"lastupdate"`
17
- UserName string `gorm:"unique" form:"username" validate:"min=8"`
+ UserName string `gorm:"unique" form:"username" validate:"min=3"`
18
Password string `form:"password" validate:"min=8"`
19
}
20
0 commit comments