From: Michael M Slusarz Date: Wed, 15 Jul 2009 05:11:00 +0000 (-0600) Subject: Fix call (API func name; only takes 2 parameters). X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=5cc8158e6ca359c5969ff319b48a7358fbd32a80;p=horde.git Fix call (API func name; only takes 2 parameters). --- diff --git a/framework/Auth/lib/Horde/Auth/Application.php b/framework/Auth/lib/Horde/Auth/Application.php index 9818abbaf..391401ec5 100644 --- a/framework/Auth/lib/Horde/Auth/Application.php +++ b/framework/Auth/lib/Horde/Auth/Application.php @@ -97,7 +97,7 @@ class Horde_Auth_Application extends Horde_Auth_Base $registry = Horde_Registry::singleton(); try { - $result = $registry->callByPackage($this->_params['app'], 'authenticate', array($userId, $credentials, $this->_params['params'])); + $result = $registry->callByPackage($this->_params['app'], $this->_apiMethods['authenticate'], array($userId, $credentials)); } catch (Horde_Auth_Exception $e) { throw new Horde_Auth_Exception('', Horde_Auth::REASON_BADLOGIN); }