Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Username length #15

Open
mkrogh opened this issue Oct 12, 2011 · 2 comments
Open

Username length #15

mkrogh opened this issue Oct 12, 2011 · 2 comments

Comments

@mkrogh
Copy link

mkrogh commented Oct 12, 2011

Hi, since the forum is "down" (spammed beyond recognition), I'll "report" the issue here.

I have a problem with the length of usernames in: Management -> SystemUsers -> New User

In the Create new user view there is a validation of the username length (20char) which is rather low. We are currently using email addresses as usernames, and an email can quite easily become 20+ char.

Is there any way to increase the limit in the view? (the db tables ranges usernames from 100char to 255 (to text)), so it is not looking at the DB field lenght.

The create new user view is defined in https://github.com/bogeblad/infoglue/blob/master/conf/cms/actions.xml, but I have not been able to locate any length validation anywhere.

In short can the input validation be increased? (preferably through the interface)

@bogeblad
Copy link
Owner

Hi, the validation is located in SystemUserVO.java as all entity validation currently is. It's very easy for us to change and if you enter this in the Infoglue Jira (http://community.infoglue.org/jira) I will be happy to fix it instantly. A small problem though is that for indexing, gui and performance reasons we must have a limit to the number of allowed characters. What would you say is a large enough limit? Put that as well in JIRA.

@mkrogh
Copy link
Author

mkrogh commented Oct 17, 2011

Hi again, I'm still waiting for JIRA access in order to report the issue.

My initial guess would be that 60 chars is more than enough, and that 40 should be usable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants