1
0
mirror of https://github.com/volatiletech/authboss.git synced 2025-10-30 23:47:59 +02:00

Fix default validators to be inline with default primary ID

This commit is contained in:
Kris Runzer
2015-06-04 13:34:29 -07:00
parent 61a344b75a
commit 7cb729827b

View File

@@ -139,10 +139,8 @@ func (c *Config) Defaults() {
c.Policies = []Validator{
Rules{
FieldName: "username",
FieldName: "email",
Required: true,
MinLength: 2,
MaxLength: 4,
AllowWhitespace: false,
},
Rules{