From f03fee5162bf8151c60c09fde2e983a5d5dc18ca Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Sun, 23 Aug 2015 21:19:30 +0200 Subject: 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 --- client/config/accounts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') diff --git a/client/config/accounts.js b/client/config/accounts.js index 3852e580..a448d612 100644 --- a/client/config/accounts.js +++ b/client/config/accounts.js @@ -5,7 +5,7 @@ AccountsTemplates.addFields([{ type: 'text', displayName: 'username', required: true, - minLength: 5 + minLength: 2 }, emailField, passwordField]); AccountsTemplates.configure({ -- cgit v1.2.3-1-g7c22