summaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-21 19:00:20 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-21 19:00:20 +0000
commitf053c1a5af4a93c0b003fc624cac1a6a35a8ef89 (patch)
tree2e28c475b19d4682b28f37900938fb4286b4bcc0 /app/models
parent05106b45ad22640039e012abbdc3c8a30040acdc (diff)
downloadredmine-f053c1a5af4a93c0b003fc624cac1a6a35a8ef89.tar.gz
redmine-f053c1a5af4a93c0b003fc624cac1a6a35a8ef89.zip
LDAP filter changed to text (#20929).
git-svn-id: http://svn.redmine.org/redmine/trunk@14725 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r--app/models/auth_source_ldap.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/auth_source_ldap.rb b/app/models/auth_source_ldap.rb
index d803952f6..02ef3b42a 100644
--- a/app/models/auth_source_ldap.rb
+++ b/app/models/auth_source_ldap.rb
@@ -22,7 +22,7 @@ require 'timeout'
class AuthSourceLdap < AuthSource
validates_presence_of :host, :port, :attr_login
validates_length_of :name, :host, :maximum => 60, :allow_nil => true
- validates_length_of :account, :account_password, :base_dn, :filter, :maximum => 255, :allow_blank => true
+ validates_length_of :account, :account_password, :base_dn, :maximum => 255, :allow_blank => true
validates_length_of :attr_login, :attr_firstname, :attr_lastname, :attr_mail, :maximum => 30, :allow_nil => true
validates_numericality_of :port, :only_integer => true
validates_numericality_of :timeout, :only_integer => true, :allow_blank => true