forked from External/mage
server: fixed that it doesn't allow to use 3 characters names despite config settings
This commit is contained in:
parent
5945ab5cb6
commit
8147ebe531
1 changed files with 2 additions and 2 deletions
|
|
@ -167,8 +167,8 @@ public class Session {
|
|||
if (userName.length() <= 1) {
|
||||
return "User name is too short (1 characters or fewer)";
|
||||
}
|
||||
if (userName.length() >= 500) {
|
||||
return "User name is too long (500 characters or more)";
|
||||
if (userName.length() >= 250) {
|
||||
return "User name is too long (250 characters or more)";
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue