diff options
author | Andrew Dolgov <[email protected]> | 2021-02-12 15:22:10 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-12 15:22:10 +0300 |
commit | 3d11c61f326ef133427f6f37de4429e879c725f2 (patch) | |
tree | 472a31623e184383ae61d189662fb29a3808f454 /classes/pref | |
parent | 219cc9a0ab0da20cb82df2647508e29f7f9d1515 (diff) |
* 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
Diffstat (limited to 'classes/pref')
-rw-r--r-- | classes/pref/prefs.php | 2 | ||||
-rw-r--r-- | classes/pref/users.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index 45f9dc71e..d40dc87c0 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -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; } diff --git a/classes/pref/users.php b/classes/pref/users.php index 16c2d3142..5c622a9b1 100644 --- a/classes/pref/users.php +++ b/classes/pref/users.php @@ -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; } |