From: Michael M Slusarz Date: Tue, 27 Jul 2010 08:17:38 +0000 (-0600) Subject: Fix portal access X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=da1e6a55be90f4653aa964ee1003c44a1701846a;p=horde.git Fix portal access --- diff --git a/horde/index.php b/horde/index.php index fb17aefa3..48a8176d2 100644 --- a/horde/index.php +++ b/horde/index.php @@ -55,7 +55,8 @@ if (!$main_page) { } else { /* Search for a user-specified initial application. */ $initial_app = $prefs->getValue('initial_application'); - if (!empty($initial_app) && + if (Horde_Util::nonInputVar('login_redirect') && + !empty($initial_app) && ($initial_app != 'horde') && $registry->hasPermission($initial_app)) { $main_page = Horde::url($initial_app, true) . '/'; diff --git a/horde/login.php b/horde/login.php index 128dafeb5..b8ee8776e 100644 --- a/horde/login.php +++ b/horde/login.php @@ -217,6 +217,7 @@ if ($error_reason) { } } + $login_redirect = true; require HORDE_BASE . '/index.php'; exit; }