diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-08-23 21:19:30 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-08-23 21:24:26 +0200 |
commit | f03fee5162bf8151c60c09fde2e983a5d5dc18ca (patch) | |
tree | 92b9b37f028e4899bd6404c83945f9194b5aa99f /client/config | |
parent | d2af2ed521eb283ef7499789f23cccc4308812fa (diff) | |
download | wekan-f03fee5162bf8151c60c09fde2e983a5d5dc18ca.tar.gz wekan-f03fee5162bf8151c60c09fde2e983a5d5dc18ca.tar.bz2 wekan-f03fee5162bf8151c60c09fde2e983a5d5dc18ca.zip |
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
Diffstat (limited to 'client/config')
-rw-r--r-- | client/config/accounts.js | 2 |
1 files changed, 1 insertions, 1 deletions
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({ |