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()) {
|
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;
|
||||||
|
|
Loading…
Reference in a new issue