Skip to content

Commit

Permalink
[server] Fix typo
Browse files Browse the repository at this point in the history
This option does not look like it ever worked because of this small typo.
  • Loading branch information
jimis committed Dec 28, 2020
1 parent e8edcbc commit cc8eb8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/server/codechecker_server/auth/cc_ldap.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ def __init__(self, ldap_config, who=None, cred=None):
self.connection = None
return

referals = ldap_config.get('referals', False)
ldap.set_option(ldap.OPT_REFERRALS, 1 if referals else 0)
referrals = ldap_config.get('referrals', False)
ldap.set_option(ldap.OPT_REFERRALS, 1 if referrals else 0)

deref = ldap_config.get('deref', ldap.DEREF_ALWAYS)
if deref == 'never':
Expand Down

0 comments on commit cc8eb8d

Please sign in to comment.