Explorar o código

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
Maxime Quandalle %!s(int64=10) %!d(string=hai) anos
pai
achega
f03fee5162
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      client/config/accounts.js

+ 1 - 1
client/config/accounts.js

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