Commit eec15537 authored by Tim Steiner's avatar Tim Steiner
Browse files

Fix a redirect loop when a user with an expired CAS session tried to transparently log in.

parent 84b40ac6
......@@ -84,7 +84,7 @@ abstract class Unl_Controller_Action_Authenticate extends Unl_Controller_Action
$this->_setupUser(Zend_Auth::getInstance()->getIdentity());
} else {
Zend_Auth::getInstance()->clearIdentity();
if (!isset($_COOKIE['unl_sso'])) {
if (isset($_COOKIE['unl_sso'])) {
setcookie('unl_sso', 'fake', time() - 60*60*24, '/', '.unl.edu');
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment