From 0e934e372af2a06797bec819696b207b6c1d8c84 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Tue, 5 May 2009 07:24:49 +0000 Subject: [PATCH] Shib13: Fix valid-session detection. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1489 44740490-163a-0410-bde0-09ae8108e29a --- www/shib13/idp/SSOService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/shib13/idp/SSOService.php b/www/shib13/idp/SSOService.php index 666ce4c3c..db6810315 100644 --- a/www/shib13/idp/SSOService.php +++ b/www/shib13/idp/SSOService.php @@ -130,7 +130,7 @@ if(SimpleSAML_Auth_Source::getById($idpmetadata['auth']) !== NULL) { * endpoint - then the session is authenticated and set, and the user is redirected back with a RequestID * parameter so we can retrieve the cached information from the request. */ -if (!$session->isAuthenticated($authority) ) { +if (!$session->isValid($authority) ) { $authId = SimpleSAML_Utilities::generateID(); $session->setAuthnRequest('shib13', $authId, $requestcache); -- GitLab