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

Check for the unl_sso cookie to be set before doing a gateway CAS auth.

parent 49798d1c
Branches
Tags
No related merge requests found
......@@ -20,6 +20,10 @@ class App_Controller_Action extends Unl_Controller_Action
{
$session = new Zend_Session_Namespace(__CLASS__);
if (!array_key_exists('unl_sso', $_COOKIE)) {
return;
}
// The auth module is doing its thing (probably an active login or logout). Let it be.
if (get_class($this) == 'Auth_IndexController') {
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment