]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
allow ssl client login with other authentication sources
authorChristian Weiske <cweiske@cweiske.de>
Fri, 13 May 2011 16:11:14 +0000 (18:11 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Fri, 13 May 2011 16:11:14 +0000 (18:11 +0200)
src/SemanticScuttle/Service/AuthUser.php

index 479b68a26d67831f06ac5d7c57de4b1108c839e5..9447ee4bbf2fe5a7ad6f71df041718d1895ab1c6 100644 (file)
@@ -130,7 +130,7 @@ class SemanticScuttle_Service_AuthUser extends SemanticScuttle_Service_User
         //FIXME: caching?
         $name = $this->auth->getUsername();
         if (!$name) {
-            return false;
+            return parent::getCurrentUserId();
         }
         return $this->getIdFromUser($name);
     }