3886: Username bigger than 40 characters

di***@microd******* (Google Code) (Is this you? Claim this profile.)
What version are you running?
Review Board 2.0.16

What's the URL of the page containing the problem?
/account/login/

What steps will reproduce the problem?
1. Login


What is the expected output? What do you see instead?
Successful login. User unable to log in due to bigger than 40 characters email

What operating system are you using? What browser?
Linux, Fedora 21   , Chrome


Please provide any additional information below.
Need a way to increase the username login to 60 characters in order to use the emails of workers with very long names.
david
#1 david
E-mail addresses should be separate from usernames.

Unfortunately, it's django which is restricting the username field to 30 characters in length. There's nothing we can do.
  • +ThirdParty
#2 di***@microd******* (Google Code) (Is this you? Claim this profile.)
The LDAP module uses this as the login, I guess the LDAP module is the one that needs to be modified then. How do I open against this ?
david
#3 david
  • -ThirdParty
    +New
#4 Barratis

Hi,

I tend to have this issue with reviewboard on some setup too.

Given that Reviewboard is now using Django-1.6, it should be able to be fixed if Reviewboard would make use of the custom user feature introduced in Django 1.5 (https://docs.djangoproject.com/en/1.5/topics/auth/#auth-custom-user).