diff --git a/public/sugo.php b/public/sugo.php index d2116fa..d0f0511 100644 --- a/public/sugo.php +++ b/public/sugo.php @@ -30,7 +30,7 @@ $mappedUsers[] = [ 'uid' => $user['uid'], 'cn' => $user['cn'], - 'needsToSign' => Ldap::optionalBooleanToBool($user, 'signedsir'), + 'needsToSign' => !Ldap::optionalBooleanToBool($user, 'signedsir'), 'isLocked' => Ldap::optionalBooleanToBool($user, 'nsaccountlock'), 'email' => $user['mail'] ];