Skip to content

Commit

Permalink
Merge pull request #1007 from itflow-org/api-logins-tweak
Browse files Browse the repository at this point in the history
Tweak credentials read api
  • Loading branch information
johnnyq authored Aug 25, 2024
2 parents c0c8107 + ec0e1c3 commit d05c5b7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/v1/credentials/read.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

} elseif (!empty($api_key_decrypt_password)) {
// All credentials ("logins")
$api_key_decrypt_password = $_GET['api_key_decrypt_password']; // No sanitization

$sql = mysqli_query($mysqli, "SELECT * FROM logins WHERE login_client_id LIKE '$client_id' ORDER BY login_id LIMIT $limit OFFSET $offset");

Expand Down

0 comments on commit d05c5b7

Please sign in to comment.