mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
excluded jboss distro, removed wcm as amp added alternative config approach, increased user name
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5038 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -194,10 +194,10 @@ public class LoginBean
|
||||
String name = (String) value;
|
||||
name = name.trim();
|
||||
|
||||
if (name.length() < 2 || name.length() > 32)
|
||||
if (name.length() < 2 || name.length() > 256)
|
||||
{
|
||||
String err = MessageFormat.format(Application.getMessage(context, MSG_USERNAME_LENGTH),
|
||||
new Object[]{2, 32});
|
||||
new Object[]{2, 256});
|
||||
throw new ValidatorException(new FacesMessage(err));
|
||||
}
|
||||
if (name.indexOf('\'') != -1 || name.indexOf('"') != -1 || name.indexOf('\\') != -1)
|
||||
|
Reference in New Issue
Block a user