mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 06:55:56 +00:00
Feeds: load quickaddfeed and search dialogs via XHR w/ CSRF protection
This commit is contained in:
@@ -8,7 +8,7 @@ class Feeds extends Handler_Protected {
|
||||
private $params;
|
||||
|
||||
function csrf_ignore($method) {
|
||||
$csrf_ignored = array("index", "quickaddfeed", "search");
|
||||
$csrf_ignored = array("index");
|
||||
|
||||
return array_search($method, $csrf_ignored) !== false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user