diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-05-28 15:14:52 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-05-28 15:14:52 -0400 |
commit | 445ef6d1481745cd4e7af7e671f534a25d4495dc (patch) | |
tree | 7990903e398d77339587595ef5a07df8464f5a2e /app/Controller/File.php | |
parent | 75ab09e28b22e9a5676ee912482027926e271515 (diff) |
Add CSRF protections
Diffstat (limited to 'app/Controller/File.php')
-rw-r--r-- | app/Controller/File.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Controller/File.php b/app/Controller/File.php index 38cb82ab..3c8c32d1 100644 --- a/app/Controller/File.php +++ b/app/Controller/File.php @@ -111,6 +111,7 @@ class File extends Base */ public function remove() { + $this->checkCSRFParam(); $task = $this->getTask(); $file = $this->file->getById($this->request->getIntegerParam('file_id')); |