Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/apps.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-08-26 02:15:02 +0400
committerLukas Reschke <lukas@statuscode.ch>2012-08-26 02:15:02 +0400
commite97020cdb502d6f3a619632d35fc4f06bed91b90 (patch)
treee5c30fe3a0e2604174c841e6495c806aa782f0e4 /apptemplate
parent6fd5268e0110d3c0c34d08ebed416bbf424183af (diff)
Added CSRF Check
Diffstat (limited to 'apptemplate')
-rw-r--r--apptemplate/ajax/seturl.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apptemplate/ajax/seturl.php b/apptemplate/ajax/seturl.php
index 3c93344ed..fa6d513b4 100644
--- a/apptemplate/ajax/seturl.php
+++ b/apptemplate/ajax/seturl.php
@@ -7,6 +7,7 @@
*/
OCP\User::checkAdminUser();
+OCP\JSON::callCheck();
OCP\Config::setSystemValue( 'somesetting', $_POST['somesetting'] );