backend/fbexport: read key from _POST

This commit is contained in:
Andrew Dolgov 2011-04-21 08:46:26 +04:00
parent 1c36d3aaa9
commit 9b201046af

View file

@ -585,8 +585,7 @@
case "fbexport":
// TODO: change to _POST
$access_key = db_escape_string($_REQUEST["key"]);
$access_key = db_escape_string($_POST["key"]);
// TODO: rate limit checking using last_connected
$result = db_query($link, "SELECT id FROM ttrss_linked_instances