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 almost 16 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

Also available in: Atom PDF