From 3e57144addc0ccbc8358ab7cdf18204132b7455a Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Mon, 18 Jan 2010 18:07:42 +0100 Subject: [PATCH] Initialize IMP before authentication. --- imp/lib/Auth.php | 1 + 1 file changed, 1 insertion(+) diff --git a/imp/lib/Auth.php b/imp/lib/Auth.php index 8f7b8a50b..8defa1d1e 100644 --- a/imp/lib/Auth.php +++ b/imp/lib/Auth.php @@ -32,6 +32,7 @@ class IMP_Auth static public function authenticate($credentials = array()) { // Do 'horde' authentication. + Horde_Registry::appInit('imp', array('tz' => true, 'authentication' => false)); $imp_app = $GLOBALS['registry']->getApiInstance('imp', 'application'); if ($imp_app->initParams['authentication'] == 'horde') { if (Horde_Auth::getAuth()) { -- 2.11.0