summaryrefslogtreecommitdiff
path: root/modules/ldap_authentication.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-11-11 17:10:24 +0000
committerSadie Powell <sadie@witchery.services>2024-11-11 17:13:01 +0000
commitdf1c6176b38eea8d8889604699012ac8b172e341 (patch)
tree73a467a7df0882541cd4f9cb5e249972647283f5 /modules/ldap_authentication.cpp
parent8634594cd1a11d6786e7da44679483718f47cc09 (diff)
parent96ccfe4cbe9948206ac2d6854778f9a268d2476f (diff)
Merge branch '2.0' into 2.1.
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