mirror of
https://github.com/redmine/redmine.git
synced 2024-08-31 17:54:49 +02:00
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:
parent
a98cad3a83
commit
7019f3416a
2
Gemfile
2
Gemfile
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user