diff --git a/moulinette/authenticators/ldap.py b/moulinette/authenticators/ldap.py index 5aff7ba4..cf04f0c1 100644 --- a/moulinette/authenticators/ldap.py +++ b/moulinette/authenticators/ldap.py @@ -59,7 +59,7 @@ class Authenticator(BaseAuthenticator): @property def is_authenticated(self): - if not self.con: + if self.con is None: return False try: # Retrieve identity