Skip to content

Commit

Permalink
[api] Fix typo that fails retry for connection when using LDAP auth.
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Mar 24, 2014
1 parent 01fa375 commit 002f9ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/models/user_ldap_strategy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def self.find_with_ldap(login, password)
logger.debug("Search failed: error #{ @@ldap_search_con.err}: #{ @@ldap_search_con.err2string(@@ldap_search_con.err)}")
@@ldap_search_con.unbind()
@@ldap_search_con = nil
if ldap_fist_try
if ldap_first_try
ldap_first_try = false
redo
end
Expand Down

0 comments on commit 002f9ba

Please sign in to comment.