1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:55:55 +00:00

remove customizecss from csrf-ignored methods

This commit is contained in:
Andrew Dolgov
2021-02-12 10:37:14 +03:00
parent bf6d0f2817
commit 20fb056323

View File

@@ -8,7 +8,7 @@ class Pref_Prefs extends Handler_Protected {
private $profile_blacklist = [];
function csrf_ignore($method) {
$csrf_ignored = array("index", "updateself", "customizecss", "editprefprofiles", "otpqrcode");
$csrf_ignored = array("index", "updateself", "editprefprofiles", "otpqrcode");
return array_search($method, $csrf_ignored) !== false;
}