##// END OF EJS Templates
upgrade net-ldap gem to 0.12.0 (#17618)...
Toshi MARUYAMA -
r14402:7019f3416a5d
parent child
Show More
@@ -21,7 +21,7 gem "rbpdf", "~> 1.18.6"
21 21
22 22 # Optional gem for LDAP authentication
23 23 group :ldap do
24 gem "net-ldap", "~> 0.10.1"
24 gem "net-ldap", "~> 0.12.0"
25 25 end
26 26
27 27 # Optional gem for OpenID authentication
@@ -105,7 +105,7 class AuthSourceLdap < AuthSource
105 105 if filter.present?
106 106 Net::LDAP::Filter.construct(filter)
107 107 end
108 rescue Net::LDAP::LdapError
108 rescue Net::LDAP::LdapError, Net::LDAP::FilterSyntaxInvalidError
109 109 nil
110 110 end
111 111
General Comments 0
You need to be logged in to leave comments. Login now