Defect #2719

Increase username length limit from 30 to 60

Added by Alexander Pavlov almost 3 years ago. Updated 4 days ago.

Status:Closed Start date:2010-09-21
Priority:Normal Due date:
Assignee:Jean-Philippe Lang % Done:

0%

Category:Accounts / authentication
Target version:1.4.0
Affected version:0.8.0 Resolution:Fixed

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?

0001-Fixes-2719.patch - Based on revision r2548 (1.6 kB) Enderson Maia, 2009-03-06 03:16

2017_change_max_username_length.patch - quilt patch for the Ubuntu package on the PPA (1.8 kB) Bruno Bigras, 2011-10-25 20:12


Related issues

related to Defect #8450: redmine:email:receive_imap fails silently when creating a... Closed 2011-05-27
duplicated by Defect #4991: varchar(30) for login is too short when login=email (ldap... Closed 2010-03-05
follows Feature #6446: Remove length limits on project identifier and name Closed 2010-09-20

Associated revisions

Revision 8778
Added by Jean-Philippe Lang 4 days ago

Increase username length limit from 30 to 60 (#2719).

History

Updated by Enderson Maia almost 3 years ago

Added a patch that fixes it on 0.8-stable

Updated by Alexander Pavlov almost 3 years ago

Enderson Maia wrote:

Added a patch that fixes it on 0.8-stable

Thank you, Enderson!

Updated by Ludovic Gasc almost 2 years ago

+1 for this feature, it's useful if the e-mail = login.

The patch seems to work correctly on the 0.9 branch.

Updated by Jens Peter Kempkes over 1 year ago

working on 0.9.3 stable I saw this issue. When will this patch be merge into the stable branch?

Updated by Enderson Maia over 1 year ago

My http://github.com/enderson/redmine has this patch applyed, I think it could be easily merged into trunk.

Updated by Etienne Massip 11 months ago

  • Target version set to Candidate for next major release

Updated by Cheyenne Wills 11 months ago

If possible, could this be bumped into a "sooner" release?? (if not I assume the above patch will work against the current stable).

Thanks

Updated by Jochen Manz 10 months ago

bump, i also need it!

Updated by Peter Fern 5 months ago

Upvote.

Updated by Bruno Bigras 4 months ago

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.

Updated by James Birmingham about 1 month ago

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.

Updated by James Birmingham about 1 month ago

Can we get the priority raised on this, as it is a blocking issue for users we legacy accounts to integrate with Redmine.

Updated by Jean-Philippe Lang 4 days ago

  • 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.

Also available in: Atom PDF