[imp] Logout, Login problem in IMP3.2 RC2

Craig White craigwhite at azapple.com
Sat Feb 15 16:55:48 PST 2003


On Sat, 2003-02-15 at 15:30, Jan Schneider wrote:
> Zitat von "Oliver Schulze L." <oliver at samera.com.py>:
> 
> > Hi,
> > I have installed IMP 3.2 RC2 and configured /horde/registry.php like
> > this:
> > $this->registry['auth']['login'] = 'imp';
> > $this->registry['auth']['logout'] = 'imp';
> > 
> > I login into IMP in:
> > http://www.example.com/horde/imp/
> > and I end up in the INBOX
> > 
> > Then, I logout from IMP and end up in this URL:
> >
> http://www.example.com/horde/imp/login.php?reason=logout&url=http%3A%2F%2Fwww.example.com%2Fhorde%2Flogin.php
> > 
> > Then, when I login again, I end up in Horde and not in IMP as expected.
> > 
> > The problem will be solved if after Logout in IMP, I ended up in this
> > URL:
> > http://www.example.com/horde/imp/login.php?reason=logout
> > 
> > Is this an issue?
> 
> Yes, a known issue. I already spent hours to fix this with every possible
> configuration, without success.
> 
------
This fixed it for me...

On Tue, 2003-02-11 at 10:04, Patrick Boutilier wrote:
> Try changing lines 52 to 57 of imp/templates/menu/menu.inc from:
> 
> 
> /* Logout */
> if ($registry->getMethod('auth/logout') == 'imp') {
>      Menu::printItem(Horde::url($registry->getParam('webroot',
'horde') 
> . '/login.php?reason=logout'), _("Logout"), 'logout.gif', 
> $registry->getParam('graphics', 'horde'));
> } else {
>      Menu::printItem(Horde::applicationUrl('login.php?reason=logout'),
> _("Logout"), 'logout.gif', $registry->getParam('graphics', 'horde'));
> }
> 
> 
> to:
> 
> 
> /* Logout */
> if ($registry->getMethod('auth/logout') == 'imp') {
>      Menu::printItem(Horde::applicationUrl('login.php?reason=logout'),
> _("Logout"), 'logout.gif', $registry->getParam('graphics', 'horde'));
> 
> } else {
> Menu::printItem(Horde::url($registry->getParam('webroot', 'horde') . 
> '/login.php?reason=logout'), _("Logout"), 'logout.gif', 
> $registry->getParam('graphics', 'horde'));
> }
> 
> 
> In other words reverse the logic.
> 
> 
> The logic was changed from 3.1 to 3.2RCx . Somebody asked about this
on 
> the list but I never saw a reply as to why it was changed.

Craig




More information about the imp mailing list