|
@@ -279,7 +279,7 @@ Schemas.UserProfile = new SimpleSchema({
|
|
type: String,
|
|
type: String,
|
|
label: "Username",
|
|
label: "Username",
|
|
regEx: /^[a-zA-Z0-9_]+$/,
|
|
regEx: /^[a-zA-Z0-9_]+$/,
|
|
- min: 4,
|
|
|
|
|
|
+ min: 3,
|
|
max: 26
|
|
max: 26
|
|
},
|
|
},
|
|
usernameL: {
|
|
usernameL: {
|
|
@@ -429,7 +429,7 @@ Schemas.User = new SimpleSchema({
|
|
// Third-party login packages may not require either. Adjust this schema as necessary for your usage.
|
|
// Third-party login packages may not require either. Adjust this schema as necessary for your usage.
|
|
optional: true,
|
|
optional: true,
|
|
regEx: /^[a-zA-Z0-9_]+$/,
|
|
regEx: /^[a-zA-Z0-9_]+$/,
|
|
- min: 6,
|
|
|
|
|
|
+ min: 3,
|
|
max: 26
|
|
max: 26
|
|
},
|
|
},
|
|
emails: {
|
|
emails: {
|