forgotten in last rev

This commit is contained in:
<bdauvergne@entrouvert.com> 1206635591 +0100 0001-01-01 00:00:00 +00:00
parent 2c61e720ad
commit 9cc9126f21
1 changed files with 3 additions and 1 deletions

View File

@ -69,7 +69,9 @@ class LassoSPKitGenericSession {
function explodeFederation($federation) {
$this->setSessionDump($federation['session']);
$this->setIdentityDump($federation['identity']);
LassoSPKitUtilsSession::setUserID($federation['userid']);
if ($federation['userid'] && ! LassoSPKitUtilsSession::getUserID()) {
LassoSPKitUtilsSession::setUserID($federation['userid']);
}
return 1;
}
}