[mimp]next problem...

Eric Rostetter eric.rostetter at physics.utexas.edu
Fri Dec 13 00:55:48 PST 2002


Okay, I devised a sneaky plan to solve my horde/imp/mimp login problems for
now.  I applied the following change as a real temporary work-around:

Index: base.php
===================================================================
RCS file: /repository/mimp/lib/base.php,v
retrieving revision 1.7
diff -u -r1.7 base.php
--- base.php    13 Dec 2002 05:32:46 -0000      1.7
+++ base.php    13 Dec 2002 06:53:17 -0000
@@ -57,7 +57,7 @@

 // If MIMP isn't responsible for Horde auth, and no one is logged into
 // Horde, redirect to the login screen.
-if (!(Auth::getAuth() || (Auth::getProvider() == 'mimp'))) {
+if (!(Auth::getAuth() || (Auth::getProvider() == 'mimp') ||
(Auth::getProvider() == 'imp'))) {
     header('Location: ' . Horde::url($registry->getParam('webroot', 'horde') .
'/login.php?url=' . urlencode(Horde::selfUrl()), true));
     echo "\n";
     exit;

Now, Horde always uses Horde/IMP authentication *except* when I point it
at mimp, in which case it uses mimp authentication instead.  :)  At least 
now I can login on my real cell phone.

But as fate would have it, more trouble.  As soon as I login I get errors
about 'quota' not defined (not in servers.php, etc).  Alas...  I'll get this
yet!

-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!


More information about the mimp mailing list