upgrade net-ldap gem to 0.12.0 (#17618)

git-svn-id: http://svn.redmine.org/redmine/trunk@14784 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2015-10-31 14:48:26 +00:00
parent a98cad3a83
commit 7019f3416a
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ gem "rbpdf", "~> 1.18.6"
# Optional gem for LDAP authentication
group :ldap do
gem "net-ldap", "~> 0.10.1"
gem "net-ldap", "~> 0.12.0"
end
# Optional gem for OpenID authentication

View File

@ -105,7 +105,7 @@ class AuthSourceLdap < AuthSource
if filter.present?
Net::LDAP::Filter.construct(filter)
end
rescue Net::LDAP::LdapError
rescue Net::LDAP::LdapError, Net::LDAP::FilterSyntaxInvalidError
nil
end