summaryrefslogtreecommitdiff
path: root/src/SemanticScuttle/Service/AuthUser.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-05-13 18:11:14 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-05-13 18:11:14 +0200
commit62afb014825e85c40df225358d608bef430a8949 (patch)
treef8c1a09208852dade26ff4c475f1a1c9cb3214fa /src/SemanticScuttle/Service/AuthUser.php
parentccb6d8a5135ec97776f926a5f483d9f1f88d061b (diff)
downloadsemanticscuttle-62afb014825e85c40df225358d608bef430a8949.tar.gz
semanticscuttle-62afb014825e85c40df225358d608bef430a8949.tar.bz2
allow ssl client login with other authentication sources
Diffstat (limited to 'src/SemanticScuttle/Service/AuthUser.php')
-rw-r--r--src/SemanticScuttle/Service/AuthUser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SemanticScuttle/Service/AuthUser.php b/src/SemanticScuttle/Service/AuthUser.php
index 479b68a..9447ee4 100644
--- a/src/SemanticScuttle/Service/AuthUser.php
+++ b/src/SemanticScuttle/Service/AuthUser.php
@@ -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);
}