diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-08-26 02:15:02 +0400 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-08-26 02:15:02 +0400 |
commit | e97020cdb502d6f3a619632d35fc4f06bed91b90 (patch) | |
tree | e5c30fe3a0e2604174c841e6495c806aa782f0e4 /apptemplate | |
parent | 6fd5268e0110d3c0c34d08ebed416bbf424183af (diff) |
Added CSRF Check
Diffstat (limited to 'apptemplate')
-rw-r--r-- | apptemplate/ajax/seturl.php | 1 |
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'] ); |