summaryrefslogtreecommitdiffstats
path: root/application/models/muser.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/models/muser.php')
-rw-r--r--application/models/muser.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/application/models/muser.php b/application/models/muser.php
index 4d183c5a6..200390358 100644
--- a/application/models/muser.php
+++ b/application/models/muser.php
@@ -18,10 +18,6 @@ class Muser extends CI_Model {
{
parent::__construct();
- if ($this->has_session() && !$this->logged_in()) {
- $this->session->keep_flashdata("uri");
- }
-
$this->load->helper("filebin");
$this->load->driver("duser");
}
@@ -184,14 +180,6 @@ class Muser extends CI_Model {
return $this->check_access_level($wanted_level);
}
- if (stateful_client()) {
- // desktop clients get redirected to the login form
- $this->require_session();
- if (!$this->session->userdata("flash:new:uri")) {
- $this->session->set_flashdata("uri", $this->uri->uri_string());
- }
- }
-
throw new \exceptions\NotAuthenticatedException("api/not-authenticated", "Not authenticated. FileBin requires you to have an account, please go to the homepage for more information.");
}