crewmate/crewmate

View on GitHub
app/models/user/authentication_ldap.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method find_in_ldap has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def self.find_in_ldap(login)
    conf = Teambox.config.ldap_auth_settings

    conn = User.create_ldap_connection
    filter = Net::LDAP::Filter.eq(conf.identifier_key, login)
Severity: Minor
Found in app/models/user/authentication_ldap.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status