Defect #2719
closed
  
Increase username length limit from 30 to 60
 
        
        Added by Alexander Pavlov over 16 years ago.
        Updated over 13 years ago.
        
Category:
Accounts / authentication
 
 
  
  
  
  Description
  
  We use LDAP authorization and our logins consist of firstname.lastname.companyname.
	As result, we faced problem with registering new users within Redmine.
	Could you please increase username lenght limit to 60 or more?
   
 
  
  Files
  
 
  
  
    
    
    
    
    Added a patch that fixes it on 0.8-stable
 
     
   
  
  
    
    
    
    Enderson Maia wrote:
	Added a patch that fixes it on 0.8-stable
	Thank you, Enderson!
 
     
   
  
  
    
    
    
    +1 for this feature, it's useful if the e-mail = login.
	The patch seems to work correctly on the 0.9 branch.
 
     
   
  
  
    
    
    
    working on 0.9.3 stable I saw this issue. When will this patch be merge into the stable branch?
 
     
   
  
  
  
  
    
    
    
    
       - Target version set to Candidate for next major release
 
    
    
     
   
  
  
    
    
    
    If possible, could this be bumped into a "sooner" release??  (if not I assume the above patch will work against the current stable).
	Thanks
 
     
   
  
  
  
  
  
  
    
    
    
    
    Here's an updated quilt version of the patch that I'm using with the Ubuntu package from the PPA.
	I had to change "ChangeUserNameLimit" to "ChangeUserLoginLimit" to match the file name for the migration to works.
 
     
   
  
  
    
    
    
    This has taken a long time to be resolved, their is also #4991.
Can we be sure that when this does get added into a release that the database schema is also updated as the constraint is present there also, which the above patch seems to miss.
 
     
   
  
  
    
    
    
    Can we get the priority raised on this, as it is a blocking issue for users we legacy accounts to integrate with Redmine.
 
     
   
  
  
    
    
    
    
       - Due date deleted (
2010-09-21) 
       - Status changed from New to Closed
 
       - Assignee set to Jean-Philippe Lang
 
       - Target version changed from Candidate for next major release to 1.4.0
 
       - Resolution set to Fixed
 
    
    Change done in r8778. Username and email address can now be 60 characters long.
 
     
   
  
  
    
    
    
    
       - Related to Feature #36825: Increase email address length limit from 60 to 254 added
 
    
    
     
   
  
 
  
  
  
 
Also available in:  Atom
  PDF