Merge commit from fork

This commit is contained in:
Livio Spring
2025-03-31 12:45:11 +02:00
committed by GitHub
parent 14de8ecac2
commit 315503beab
3 changed files with 17 additions and 5 deletions

View File

@@ -3,9 +3,10 @@ from projections.authn_keys2 k
join projections.users14 u
on k.instance_id = u.instance_id
and k.identifier = u.id
join projections.users14_machines m
join projections.users14_machines m
on u.instance_id = m.instance_id
and u.id = m.user_id
where k.instance_id = $1
and k.id = $2
and u.id = $3;
and u.id = $3
and k.expiration > current_timestamp;