Skip to content
Snippets Groups Projects
Commit 37ce48c8 authored by Tim Steiner's avatar Tim Steiner
Browse files

more layout/view disabling issues

parent 5565fcd2
Branches
Tags
No related merge requests found
......@@ -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('/');
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment