mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
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:
parent
d2af2ed521
commit
f03fee5162
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ AccountsTemplates.addFields([{
|
||||||
type: 'text',
|
type: 'text',
|
||||||
displayName: 'username',
|
displayName: 'username',
|
||||||
required: true,
|
required: true,
|
||||||
minLength: 5
|
minLength: 2
|
||||||
}, emailField, passwordField]);
|
}, emailField, passwordField]);
|
||||||
|
|
||||||
AccountsTemplates.configure({
|
AccountsTemplates.configure({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue