mirror of
https://github.com/itflow-org/itflow
synced 2026-08-17 04:55:13 +00:00
Add clientScopeSql helper for client-scoped list queries
This commit is contained in:
@@ -16,6 +16,7 @@ $passwords_not_rotated_sql = mysqli_query($mysqli,
|
||||
FROM credentials
|
||||
LEFT JOIN clients ON credential_client_id = client_id
|
||||
WHERE DATE(credential_password_changed_at) < DATE_SUB(CURDATE(), INTERVAL $days DAY)
|
||||
" . clientScopeSql('credential_client_id') . "
|
||||
ORDER BY client_name"
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user