summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-08-31 11:53:25 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-08-31 12:17:17 +0200
commit3f9c4f255bc14c589061d348b1e87a7ab6ca9b01 (patch)
treed8fc33d12d8ef939c2b2c6a6dcd00d63a18f2114 /application
parent25c2eb78d91ee581916f90dd7b248b86a72c5f2b (diff)
Fix missing require_session call
Trigger: echo test | curl -F "file=@-;filename=stdin" <url> Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application')
-rw-r--r--application/controllers/file.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php
index 90c73d844..f900419cb 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -218,6 +218,7 @@ class File extends CI_Controller {
$redirect = false;
if (!$this->muser->logged_in()) {
+ $this->muser->require_session();
// keep the upload but require the user to login
$this->session->set_userdata("last_upload", array(
"id" => $id,