From: Michael M Slusarz Date: Wed, 22 Jul 2009 22:09:23 +0000 (-0600) Subject: Use stored auth credentials information for transparent() auth if the X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=50e93fc98c0a2ea3937e8fd7938f7a57fb908649;p=horde.git Use stored auth credentials information for transparent() auth if the driver did not define new values. --- diff --git a/framework/Auth/lib/Horde/Auth/Base.php b/framework/Auth/lib/Horde/Auth/Base.php index e4f08cb5d..974da44c5 100644 --- a/framework/Auth/lib/Horde/Auth/Base.php +++ b/framework/Auth/lib/Horde/Auth/Base.php @@ -204,8 +204,8 @@ abstract class Horde_Auth_Base { if ($this->_transparent()) { return Horde_Auth::setAuth( - $this->_credentials['userId'], - $this->_credentials['credentials'], + empty($this->_credentials['userId']) ? Horde_Auth::getAuth() : $this->_credentials['userId'], + empty($this->_credentials['credentials']) ? Horde_Auth::getCredential() : $this->_credentials['credentials'], $this->_credentials['params'] ); }