Skip to content
Permalink
Browse files Browse the repository at this point in the history
Added XSRF check
  • Loading branch information
LukasReschke committed Aug 9, 2012
1 parent 7581d55 commit 5192eec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/ajax/appconfig.php
Expand Up @@ -7,6 +7,7 @@

require_once ("../../lib/base.php");
OC_Util::checkAdminUser();
OCP\JSON::callCheck();

$action=isset($_POST['action'])?$_POST['action']:$_GET['action'];
$result=false;
Expand Down

0 comments on commit 5192eec

Please sign in to comment.