mirror of
https://github.com/owncloud/bookmarks.git
synced 2025-02-21 18:54:32 +01:00
Add callCheck to deleteTag ajax action to avoid security check pbms
This commit is contained in:
parent
3669c27acf
commit
95d2be3772
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
// Check if we are a user
|
// Check if we are a user
|
||||||
OCP\JSON::checkLoggedIn();
|
OCP\JSON::checkLoggedIn();
|
||||||
|
OCP\JSON::callCheck();
|
||||||
OCP\JSON::checkAppEnabled('bookmarks');
|
OCP\JSON::checkAppEnabled('bookmarks');
|
||||||
|
|
||||||
if(isset($_POST['old_name']))
|
if(isset($_POST['old_name']))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user