allow ssl client login with other authentication sources

This commit is contained in:
Christian Weiske 2011-05-13 18:11:14 +02:00
parent ccb6d8a513
commit 62afb01482

View file

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