mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 08:15:55 +00:00
* OPML import: don't reload everything, just feed tree
* dialogs: use auto-destroying dialog for almost all dialogs instead of destroying them manually * some general dialog-related cleanup
This commit is contained in:
@@ -8,7 +8,7 @@ class Pref_Prefs extends Handler_Protected {
|
||||
private $profile_blacklist = [];
|
||||
|
||||
function csrf_ignore($method) {
|
||||
$csrf_ignored = array("index", "updateself", "editprefprofiles", "otpqrcode");
|
||||
$csrf_ignored = array("index", "updateself", "otpqrcode");
|
||||
|
||||
return array_search($method, $csrf_ignored) !== false;
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ class Pref_Users extends Handler_Protected {
|
||||
}
|
||||
|
||||
function csrf_ignore($method) {
|
||||
$csrf_ignored = array("index", "edit", "userdetails");
|
||||
$csrf_ignored = array("index", "userdetails");
|
||||
|
||||
return array_search($method, $csrf_ignored) !== false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user