summaryrefslogtreecommitdiffstats
path: root/application/controllers/user.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/user.php')
-rw-r--r--application/controllers/user.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/application/controllers/user.php b/application/controllers/user.php
index c4085a8f6..2a73a1ef5 100644
--- a/application/controllers/user.php
+++ b/application/controllers/user.php
@@ -48,10 +48,7 @@ class User extends CI_Controller {
if ($uri) {
redirect($uri);
} else {
- $this->data['username'] = $this->muser->get_username();
- $this->load->view($this->var->view_dir.'header', $this->data);
- $this->load->view($this->var->view_dir.'login_successful', $this->data);
- $this->load->view($this->var->view_dir.'footer', $this->data);
+ redirect("/");
}
}
} else {