[dev] imapuser vs uniquser using IMP auth

Matt Selsky selsky at columbia.edu
Tue Oct 3 02:08:38 PDT 2006


On Tue, Oct 03, 2006 at 04:54:16AM -0400, Matt Selsky wrote:
> When using IMP authentication, the login messages use 
> $_SESSION['imp']['user'], eg:
> 
> Oct 02 22:52:58 HORDE [notice] [imp] Login success for imaptest [160.39.254.154] to {localhost:144} [on line 312 of "/etc/httpd/htdocs/horde/imp/lib/Session.php"]
> 
> while the logout messages use $_SESSION['imp']['uniquser'], eg:
> 
> Oct 03 01:40:41 HORDE [notice] [imp] Logout for imaptest at columbia.edu [160.39.254.154] from {localhost:144} [on line 69 of "/etc/httpd/htdocs/horde/imp/login.php"]
> 
> Is this intentional?  Assuming they should be the same, which format is 
> preferred?  uniquser?

To answer my own question...

uniquser was used for both until some code was moved around.  I updated 
imp/lib/Session.php to use uniquser for the login message again.

-- 
Matt


More information about the dev mailing list