Skip to content

Commit c5cde53

Browse files
authored
Merge pull request #2031 from SilentPresences/Fix-SSO-page-when-using-PostgreSQL
Fix SSO page loading with PostgreSQL
2 parents cf7fd83 + 1dd1e19 commit c5cde53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SSO/Service/KeyService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function getKeysData(bool $activeOnly = false) {
2727
$sql = 'SELECT key_id, key_uuid, key_org_id, key_name, key_algorithm, key_certificate, key_expires_at, key_is_active
2828
FROM ' . TBL_SSO_KEYS . '
2929
WHERE key_org_id = ?
30-
' . ($activeOnly ? ' and key_is_active = 1 ' : '') . '
30+
' . ($activeOnly ? ' and key_is_active = TRUE ' : '') . '
3131
ORDER BY key_name';
3232
$keysList = $this->db->getArrayFromSql($sql, array($gCurrentOrgId));
3333
return $keysList;

0 commit comments

Comments
 (0)