From 575c3aac2149575dd5e385249615065e47f7f8d8 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 30 Nov 2009 11:22:01 -0700 Subject: [PATCH] Don't use IMAP username, since it may have nothing to do with auth username --- imp/lib/Prefs/Identity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, '@')) { -- 2.11.0