fix ssl client cert login process

This commit is contained in:
Christian Weiske 2011-05-13 18:10:25 +02:00
parent 803b83fb7d
commit ccb6d8a513

View file

@ -426,8 +426,8 @@ class SemanticScuttle_Service_User extends SemanticScuttle_DbService
if ($ssls->hasValidCert()) { if ($ssls->hasValidCert()) {
$id = $ssls->getUserIdFromCert(); $id = $ssls->getUserIdFromCert();
if ($id !== false) { if ($id !== false) {
$this->setCurrentUserId($id); $this->setCurrentUserId($id, true);
return (int)$_SESSION[$this->getSessionKey()]; return $this->currentuserId;
} }
} }
return false; return false;