Added missing CSRF checks.

This commit is contained in:
Thomas Tanghus 2012-07-17 12:04:34 +02:00
parent 748fcabba4
commit 2c9aa029a7
2 changed files with 2 additions and 0 deletions

View file

@ -9,6 +9,7 @@
OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('contacts');
OCP\JSON::callCheck();
require_once('../loghandler.php');

View file

@ -9,6 +9,7 @@
OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('contacts');
OCP\JSON::callCheck();
OC_Contacts_App::scanCategories();
$categories = OC_Contacts_App::getCategories();