http_log.rb 438 B

1234567891011121314151617
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class Sequencer::Unit::Import::Ldap::User::HttpLog < Sequencer::Unit::Import::Common::Model::HttpLog
  3. uses :ldap_config
  4. private
  5. def url
  6. return "source #{LdapSource.find(ldap_config[:id]).name} (#{ldap_config[:id]}): #{action} -> #{remote_id}" if ldap_config.present? && ldap_config[:id].present?
  7. super
  8. end
  9. def facility
  10. 'ldap'
  11. end
  12. end