Project

General

Profile

Actions

Defect #4991

closed

varchar(30) for login is too short when login=email (ldap typical usage)

Added by Thomas NOEL over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Database
Target version:
-
Start date:
2010-03-05
Due date:
% Done:

0%

Estimated time:
1.00 h
Resolution:
Duplicate
Affected version:

Description

Hi there,

I use redmine with a LDAP authentification. The login is the email address (very classic). But I have some users with long email addresses, that exceed 30 chars. They cannot use my system...

I see that in ./app/models/user.rb :
validates_length_of :login, :maximum => 30

I think it would be better to put the same lenght as mail : 60.

Thanks.


Files

redmine_login60.patch (1.25 KB) redmine_login60.patch Thomas NOEL, 2010-03-05 11:44

Related issues

Is duplicate of Redmine - Defect #2719: Increase username length limit from 30 to 60ClosedJean-Philippe Lang2010-09-21

Actions
Actions

Also available in: Atom PDF