From 37ce48c8fdb831be6ff2f3d8ad351cbc8d75752b Mon Sep 17 00:00:00 2001 From: Tim Steiner <tsteiner2@unl.edu> Date: Tue, 10 Mar 2009 19:25:07 +0000 Subject: [PATCH] more layout/view disabling issues --- application/modules/auth/controllers/IndexController.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/application/modules/auth/controllers/IndexController.php b/application/modules/auth/controllers/IndexController.php index 27864716..6e435bfd 100644 --- a/application/modules/auth/controllers/IndexController.php +++ b/application/modules/auth/controllers/IndexController.php @@ -34,8 +34,6 @@ class Auth_IndexController extends App_Controller_Action { public function validateAction() { - $this->_disableLayoutAndView(); - $username = $this->getRequest()->getParam('username'); $password = $this->getRequest()->getParam('password'); @@ -65,6 +63,7 @@ class Auth_IndexController extends App_Controller_Action { $session->errorMessage = 'Login Failed'; // Don't redirect, CAS is already doing it. //$this->_redirect('/auth/index'); + $this->_disableLayoutAndView(); return; } @@ -73,7 +72,7 @@ class Auth_IndexController extends App_Controller_Action { $user = Auth_UserModel::fetchNewFromLdap($auth->getIdentity()); } - $this->_redirect('/'); + $this->_redirect('/'); } } -- GitLab