Project

General

Profile

Actions

Defect #1426

closed

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

Added by mathew murphy almost 16 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Accounts / authentication
Target version:
Start date:
2008-06-11
Due date:
% Done:

100%

Estimated time:
Resolution:
Fixed
Affected version:

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

Actions #1

Updated by Jean-Philippe Lang almost 16 years ago

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

Applied in changeset r1561.

Actions #2

Updated by Jean-Philippe Lang over 15 years ago

  • Target version set to 0.7.3
  • Resolution set to Fixed
Actions

Also available in: Atom PDF