Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
UNL Information Services
NMC-PHP-Framework
Commits
eec15537
Commit
eec15537
authored
Nov 21, 2011
by
Tim Steiner
Browse files
Fix a redirect loop when a user with an expired CAS session tried to transparently log in.
parent
84b40ac6
Changes
1
Hide whitespace changes
Inline
Side-by-side
library/Unl/Controller/Action/Authenticate.php
View file @
eec15537
...
...
@@ -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'
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment