[Tickets #1325] NEW: "Welcome to ..." greeting outputs Horde
instead of Mail
bugs at bugs.horde.org
bugs at bugs.horde.org
Mon Feb 7 14:43:58 PST 2005
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=1325
-----------------------------------------------------------------------
Ticket | 1325
Created By | eli at experthost.com
Summary | "Welcome to ..." greeting outputs Horde instead of Mail
Queue | IMP
Version | 4.0
State | Unconfirmed
Priority | 1. Low
Type | Bug
Owners |
-----------------------------------------------------------------------
eli at experthost.com (2005-02-07 14:43) wrote:
Under normal operation of having Horde handle authentication, IMP properly
displays the title of "Welcome to Mail" when logging in to IMP.
However, when setting Horde to have IMP handle authentication, the $imp_auth
variable is set to "1", which causes the code:
$title = sprintf(_("Welcome to %s"), $registry->get('name', ($imp_auth) ?
'horde' : null));
from login.php (in IMP) to print out "Welcome to Horde".
The fix seemed to be just reverse the "'horde' : null" part to "null :
'horde'" however then that reverses the operation under normal Horde
authentication.
What is the reason for defaulting to 'horde' when $imp_auth is set? Is it
because the setting of having IMP handle Horde authentication would then
mean that you assume users want to log in to Horde via IMP, thus you display
the message "Welcome to Horde"?
I consider this a bug because although you are logging in to Horde via IMP,
you are still authenticating in to IMP which then provides potential access
to Horde, thus it should say "Welcome to Mail", with just the added benefit
of having access to Horde once logged in to mail.
Eli.
More information about the bugs
mailing list