summaryrefslogtreecommitdiff
path: root/modules/ldap_authentication.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/ldap_authentication.cpp')
-rw-r--r--modules/ldap_authentication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ldap_authentication.cpp b/modules/ldap_authentication.cpp
index 530c9f85e..dbca68e58 100644
--- a/modules/ldap_authentication.cpp
+++ b/modules/ldap_authentication.cpp
@@ -145,7 +145,7 @@ public:
{
User *u = User::Find(uid);
- if (!u || !u->Account() || r.empty())
+ if (!u || !u->IsIdentified() || r.empty())
return;
try