diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-07-07 16:03:21 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-07-07 16:03:21 +0200 |
commit | 04a0755fd364b16bfb461382b1409fbb6336a359 (patch) | |
tree | b0cd8559ab0bfc58079c6e7ef951788468d6a8e9 /apps/files_sharing/ajax/email.php | |
parent | b7c510a61a5eaeba76284628fe76fc60b7035aed (diff) | |
download | nextcloud-server-04a0755fd364b16bfb461382b1409fbb6336a359.tar.gz nextcloud-server-04a0755fd364b16bfb461382b1409fbb6336a359.zip |
CSRF checks
Diffstat (limited to 'apps/files_sharing/ajax/email.php')
-rw-r--r-- | apps/files_sharing/ajax/email.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/ajax/email.php b/apps/files_sharing/ajax/email.php index 523c3d2078b..e1dccb7d0fa 100644 --- a/apps/files_sharing/ajax/email.php +++ b/apps/files_sharing/ajax/email.php @@ -1,6 +1,8 @@ <?php OCP\JSON::checkLoggedIn(); OCP\JSON::checkAppEnabled('files_sharing'); +OCP\JSON::callCheck(); + $user = OCP\USER::getUser(); // TODO translations $type = (strpos($_POST['file'], '.') === false) ? 'folder' : 'file'; |