Defect #2719

Increase username length limit from 30 to 60

Added by Alexander Pavlov almost 9 years ago. Updated almost 6 years ago.

Status:ClosedStart date:2010-09-21
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

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

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 Magnifier - Based on revision r2548 (1.61 KB) Enderson Maia, 2009-03-06 03:16

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


Related issues

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

Associated revisions

Revision 8778
Added by Jean-Philippe Lang almost 6 years ago

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

History

#1 Updated by Enderson Maia over 8 years ago

Added a patch that fixes it on 0.8-stable

#2 Updated by Alexander Pavlov over 8 years ago

Enderson Maia wrote:

Added a patch that fixes it on 0.8-stable

Thank you, Enderson!

#3 Updated by Ludovic Gasc over 7 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.

#4 Updated by Jens Peter Kempkes over 7 years ago

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

#5 Updated by Enderson Maia over 7 years ago

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

#6 Updated by Etienne Massip over 6 years ago

  • Target version set to Candidate for next major release

#7 Updated by Cheyenne Wills over 6 years 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

#8 Updated by Jochen Manz over 6 years ago

bump, i also need it!

#9 Updated by Peter Fern about 6 years ago

Upvote.

#10 Updated by Bruno Bigras about 6 years 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.

#11 Updated by James Birmingham almost 6 years 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.

#12 Updated by James Birmingham almost 6 years ago

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

#13 Updated by Jean-Philippe Lang almost 6 years 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