summaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax/deleteproperty.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-06-13 17:35:42 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-06-13 17:35:42 +0200
commitbc1e8cb0a2ef634949ae520c6aedab435eaf5b80 (patch)
treeae72b2dc4296127d9f332aa6f6929ea74f9c0820 /apps/contacts/ajax/deleteproperty.php
parent89464721c7aa4464419cbcbedc658843f6c4696d (diff)
downloadnextcloud-server-bc1e8cb0a2ef634949ae520c6aedab435eaf5b80.tar.gz
nextcloud-server-bc1e8cb0a2ef634949ae520c6aedab435eaf5b80.zip
Contacts: implemented CSRF prevention.
Diffstat (limited to 'apps/contacts/ajax/deleteproperty.php')
-rw-r--r--apps/contacts/ajax/deleteproperty.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/contacts/ajax/deleteproperty.php b/apps/contacts/ajax/deleteproperty.php
index e6c2bd9f803..55f7e323083 100644
--- a/apps/contacts/ajax/deleteproperty.php
+++ b/apps/contacts/ajax/deleteproperty.php
@@ -23,6 +23,7 @@
// Check if we are a user
OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('contacts');
+OCP\JSON::callCheck();
$id = $_POST['id'];
$checksum = $_POST['checksum'];