There was an error while loading. Please reload this page.
2 parents cf7fd83 + 1dd1e19 commit c5cde53Copy full SHA for c5cde53
1 file changed
src/SSO/Service/KeyService.php
@@ -27,7 +27,7 @@ public function getKeysData(bool $activeOnly = false) {
27
$sql = 'SELECT key_id, key_uuid, key_org_id, key_name, key_algorithm, key_certificate, key_expires_at, key_is_active
28
FROM ' . TBL_SSO_KEYS . '
29
WHERE key_org_id = ?
30
- ' . ($activeOnly ? ' and key_is_active = 1 ' : '') . '
+ ' . ($activeOnly ? ' and key_is_active = TRUE ' : '') . '
31
ORDER BY key_name';
32
$keysList = $this->db->getArrayFromSql($sql, array($gCurrentOrgId));
33
return $keysList;
0 commit comments