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()) {
$id = $ssls->getUserIdFromCert();
if ($id !== false) {
$this->setCurrentUserId($id);
return (int)$_SESSION[$this->getSessionKey()];
$this->setCurrentUserId($id, true);
return $this->currentuserId;
}
}
return false;