Defect #1426

User model does not allow person's first name to contain a dot '.'

Added by mathew murphy over 9 years ago. Updated over 9 years ago.

Status:ClosedStart date:2008-06-11
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:Accounts / authentication
Target version:0.7.3
Resolution:Fixed Affected version:0.7.1

Description

Our LDAP server contains usernames like "J.R. Ewing" and "J. Emmet Smith". These fail to be allowed to log in to Redmine.

Fix is simple,
validates_format_of :firstname, :lastname, :with => /^[\w\s\'\-\.]*$/i
in app/models/user.rb

Associated revisions

Revision 1561
Added by Jean-Philippe Lang over 9 years ago

Allow dot in firstnames and lastnames (closes #1426).

History

#1 Updated by Jean-Philippe Lang over 9 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset r1561.

#2 Updated by Jean-Philippe Lang over 9 years ago

  • Target version set to 0.7.3
  • Resolution set to Fixed

Also available in: Atom PDF