Lower the required usernames length from 5 to 2

Both the previous and the new value are completely arbitrary but some
users suggested that we reject names like "Li" for no good reason,
especially on private boards, cf #202.

Hopefully one day we'll have an administrator configuration panel.

Fixes #202
Closes #210
This commit is contained in:
Maxime Quandalle committed 2015-08-23 21:24:26 +02:00
1 parent d2af2ed521
commit f03fee5162
1 file changed
+1 -1
+1 -1
View File
@@ -5,7 +5,7 @@ AccountsTemplates.addFields([{
type: 'text',
displayName: 'username',
required: true,
minLength: 5
minLength: 2
}, emailField, passwordField]);
AccountsTemplates.configure({