プロジェクト

全般

プロフィール

Vote #63404

完了

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

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Accounts / authentication_7
対象バージョン:
開始日:
2008/06/11
期日:
進捗率:

100%

予定工数:
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
ステータス-->[Closed]

説明

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 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0