diff options
author | Andrew Dolgov <[email protected]> | 2020-09-15 15:32:17 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2020-09-15 15:32:17 +0300 |
commit | 7e50c6c4b5995da117cd57cc26032140b0008c48 (patch) | |
tree | 95886b8ca3f7bc9073a924a6e512ae9e912144ed /classes/rpc.php | |
parent | 91e1542a8205f76a75778425f298c36236ff5fbf (diff) |
- enable CSRF support earlier
- remove rpc/sanityCheck from CSRF-excluded calls
Diffstat (limited to 'classes/rpc.php')
-rwxr-xr-x | classes/rpc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/rpc.php b/classes/rpc.php index 7f809f29b..dbb98e9b7 100755 --- a/classes/rpc.php +++ b/classes/rpc.php @@ -2,7 +2,7 @@ class RPC extends Handler_Protected { function csrf_ignore($method) { - $csrf_ignored = array("sanitycheck", "completelabels", "saveprofile"); + $csrf_ignored = array("completelabels", "saveprofile"); return array_search($method, $csrf_ignored) !== false; } |