lib/puavo/authentication.rb in puavo_authentication-0.2.1 vs lib/puavo/authentication.rb in puavo_authentication-0.2.2

- old
+ new

@@ -115,10 +115,10 @@ # Remove previous connection self.class.remove_connection - logger.info "Configuring ActiveLdap to use #{ @credentials.map { |k,v| "#{ k }: #{ v }" }.join ", " }" + logger.info "Configuring ActiveLdap to use #{ @credentials.select{ |a,b| a != :password }.map { |k,v| "#{ k }: #{ v }" }.join ", " }" logger.debug "PW: #{ @credentials[:password] }" if ENV["LOG_LDAP_PASSWORD"] # Setup new ActiveLdap connections to use user's credentials LdapBase.ldap_setup_connection ldap_host, base.to_s, @credentials[:dn], @credentials[:password] # Do not never ever allow anonymous connections in Puavo. Should be