diff --git a/radicale-auth-ldap/__init__.py b/radicale-auth-ldap/__init__.py index 7fbebbc..65989cc 100644 --- a/radicale-auth-ldap/__init__.py +++ b/radicale-auth-ldap/__init__.py @@ -89,7 +89,7 @@ class UserCache: ## Check if user password is correct if self.cache[hashedUserName].checkSecret(hashedPassword): return True - else + else: ## Delete cache entry if password is wrong self.cache.pop(hashedUserName)