Project

General

Profile

« Previous | Next » 

Revision ab5b88f2

Added by Stephen Benjamin about 10 years ago

fixes #5222 - Log ldap attributes in debug-level logging

(cherry picked from commit d11f7309ef6f67699a750418f0f50afc589ff841)

View differences:

app/models/auth_sources/auth_source_ldap.rb
return nil
end
# return user's attributes
logger.debug "Retrieved LDAP Attributes for #{login}: #{attrs}"
attrs
rescue Net::LDAP::LdapError => text
raise "LdapError: %s" % text

Also available in: Unified diff