diff options
author | Christian Weiske <cweiske@cweiske.de> | 2011-05-13 18:10:25 +0200 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2011-05-13 18:10:25 +0200 |
commit | ccb6d8a5135ec97776f926a5f483d9f1f88d061b (patch) | |
tree | ae26e18fe2783f2f269feb3583982e8749f47d59 /src/SemanticScuttle/Service/User.php | |
parent | 803b83fb7d051593066b5224a59fbf3ec6efc824 (diff) | |
download | semanticscuttle-ccb6d8a5135ec97776f926a5f483d9f1f88d061b.tar.gz semanticscuttle-ccb6d8a5135ec97776f926a5f483d9f1f88d061b.tar.bz2 |
fix ssl client cert login process
Diffstat (limited to 'src/SemanticScuttle/Service/User.php')
-rw-r--r-- | src/SemanticScuttle/Service/User.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SemanticScuttle/Service/User.php b/src/SemanticScuttle/Service/User.php index 09a2cb1..0e437c2 100644 --- a/src/SemanticScuttle/Service/User.php +++ b/src/SemanticScuttle/Service/User.php @@ -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; |