Vote #63404
完了User model does not allow person's first name to contain a dot '.'
開始日:
2008/06/11
期日:
進捗率:
100%
予定工数:
Redmineorg_URL:
category_id:
7
version_id:
5
issue_org_id:
1426
author_id:
1246
assigned_to_id:
0
comments:
2
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
3
説明
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
journals
Applied in changeset r1561.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Admin Redmine さんが約2年前に更新
- カテゴリ を Accounts / authentication_7 にセット
- 対象バージョン を 0.7.3_5 にセット
いいね!0