Skip to content
Snippets Groups Projects
Commit 9605e192 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Check for admin user

parent 85a410d7
No related branches found
No related tags found
Loading
......@@ -6,6 +6,7 @@
*/
require_once ("../../lib/base.php");
OC_Util::checkAdminUser();
OC_JSON::checkLoggedIn();
$action=isset($_POST['action'])?$_POST['action']:$_GET['action'];
$result=false;
......
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