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 2015-08-23 21:19:30 +02:00
parent d2af2ed521
commit f03fee5162

View file

@ -5,7 +5,7 @@ AccountsTemplates.addFields([{
type: 'text',
displayName: 'username',
required: true,
minLength: 5
minLength: 2
}, emailField, passwordField]);
AccountsTemplates.configure({