Fix call (API func name; only takes 2 parameters).
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 15 Jul 2009 05:11:00 +0000 (23:11 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Sun, 19 Jul 2009 01:21:07 +0000 (19:21 -0600)
framework/Auth/lib/Horde/Auth/Application.php

index 9818abb..391401e 100644 (file)
@@ -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);
         }