Skip to content
Snippets Groups Projects
Commit 2c9aa029 authored by Thomas Tanghus's avatar Thomas Tanghus
Browse files

Added missing CSRF checks.

parent 748fcabb
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@
OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('contacts');
OCP\JSON::callCheck();
require_once('../loghandler.php');
......
......@@ -9,6 +9,7 @@
OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('contacts');
OCP\JSON::callCheck();
OC_Contacts_App::scanCategories();
$categories = OC_Contacts_App::getCategories();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment