mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-24 05:21:28 +00:00
allow subscribing to twitter feeds without oauth (if require auth checkbox is unset)
This commit is contained in:
@@ -188,8 +188,9 @@ class RPC extends Protected_Handler {
|
||||
$cat = db_escape_string($_REQUEST['cat']);
|
||||
$login = db_escape_string($_REQUEST['login']);
|
||||
$pass = db_escape_string($_REQUEST['pass']);
|
||||
$need_auth = db_escape_string($_REQUEST['need_auth']) != "";
|
||||
|
||||
$rc = subscribe_to_feed($this->link, $feed, $cat, $login, $pass);
|
||||
$rc = subscribe_to_feed($this->link, $feed, $cat, $login, $pass, $need_auth);
|
||||
|
||||
print json_encode(array("result" => $rc));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user