GitLab steht wegen Wartungsarbeiten am Montag, den 10. Mai, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

Commit a1398987 authored by marutosijp's avatar marutosijp

upgrade net-ldap gem to 0.12.0 (#17618)

git-svn-id: https://svn.redmine.org/redmine/trunk@14784 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 54f3070a
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment