]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
fix ssl client cert login process
authorChristian Weiske <cweiske@cweiske.de>
Fri, 13 May 2011 16:10:25 +0000 (18:10 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Fri, 13 May 2011 16:10:25 +0000 (18:10 +0200)
src/SemanticScuttle/Service/User.php

index 09a2cb19ab8486df6cc41f0bda29fab3737887f1..0e437c2b823e692a7ee254919c4ade8b89303eb3 100644 (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;