[dev] Patch for initial_application bug

Jason Rust jrust at rustyparts.com
Tue May 6 16:31:54 PDT 2003


The below patch fixes a bug whereby if initial_application was set in
prefs.php to an application that allowed guest access it would bounce to
that application before giving the user a chance to log in.  This fixes
that by making sure the user is logged in before bouncing to the initial
application.

-Jason

Index: index.php
===================================================================
RCS file: /repository/horde/index.php,v
retrieving revision 2.74
diff -r2.74 index.php
32c32
<         } elseif (!empty($initial_app)) {
---
>         } elseif (!empty($initial_app) && Auth::getAuth()) {


More information about the dev mailing list