diff --git a/www/saml2/sp/AssertionConsumerService.php b/www/saml2/sp/AssertionConsumerService.php index cc26bb50cc5f7087b441f16492a5c857baf2de5f..2111f2941db0cec136afe3b36fe9aee17c84fc0f 100644 --- a/www/saml2/sp/AssertionConsumerService.php +++ b/www/saml2/sp/AssertionConsumerService.php @@ -11,7 +11,10 @@ require_once('SimpleSAML/XML/SAML20/AuthnRequest.php'); require_once('SimpleSAML/Bindings/SAML20/HTTPPost.php'); require_once('SimpleSAML/XHTML/Template.php'); -$session = SimpleSAML_Session::getInstance(); +/* Get the session object for the user. Create a new session if no session + * exists for this user. + */ +$session = SimpleSAML_Session::getInstance(TRUE); $logger = new SimpleSAML_Logger();