fix ssl client cert login process
This commit is contained in:
parent
803b83fb7d
commit
ccb6d8a513
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue