From: Michael M Slusarz Date: Mon, 30 Nov 2009 18:22:01 +0000 (-0700) Subject: Don't use IMAP username, since it may have nothing to do with auth username X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=575c3aac2149575dd5e385249615065e47f7f8d8;p=horde.git Don't use IMAP username, since it may have nothing to do with auth username --- diff --git a/imp/lib/Prefs/Identity.php b/imp/lib/Prefs/Identity.php index 8c131670a..531548ba6 100644 --- a/imp/lib/Prefs/Identity.php +++ b/imp/lib/Prefs/Identity.php @@ -231,7 +231,7 @@ class Imp_Prefs_Identity extends Horde_Prefs_Identity $val = $this->getValue('from_addr', $ident); if (empty($val)) { - $val = $GLOBALS['imp_imap']->ob()->getParam('username'); + $val = Horde_Auth::getBareAuth(); } if (!strstr($val, '@')) {