1
0
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:
Brice Maron 2012-08-13 16:40:50 +00:00
parent 3669c27acf
commit 95d2be3772

View File

@ -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']))