aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-09-26 02:12:47 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-09-26 02:12:47 +0800
commitd6cecfcef1dae37b73572ce9e29d3a35d1cbc6b7 (patch)
tree76c8e590e043772043d5122914b25fce794d23d1 /mail/mail-mt.c
parentce71400f35232aa9122fceb3436dfc56b8b206e8 (diff)
downloadgsoc2013-evolution-d6cecfcef1dae37b73572ce9e29d3a35d1cbc6b7.tar
gsoc2013-evolution-d6cecfcef1dae37b73572ce9e29d3a35d1cbc6b7.tar.gz
gsoc2013-evolution-d6cecfcef1dae37b73572ce9e29d3a35d1cbc6b7.tar.bz2
gsoc2013-evolution-d6cecfcef1dae37b73572ce9e29d3a35d1cbc6b7.tar.lz
gsoc2013-evolution-d6cecfcef1dae37b73572ce9e29d3a35d1cbc6b7.tar.xz
gsoc2013-evolution-d6cecfcef1dae37b73572ce9e29d3a35d1cbc6b7.tar.zst
gsoc2013-evolution-d6cecfcef1dae37b73572ce9e29d3a35d1cbc6b7.zip
Only cache the password for the service if it has an entry in the account
2001-09-25 Jeffrey Stedfast <fejj@ximian.com> * mail-mt.c (pass_got): Only cache the password for the service if it has an entry in the account database. Fixes bug #10875. svn path=/trunk/; revision=13111
Diffstat (limited to 'mail/mail-mt.c')
-rw-r--r--mail/mail-mt.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index 2324fa64ce..69646e44fd 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -450,12 +450,14 @@ pass_got (char *string, void *data)
service = mca->transport;
}
- mail_config_service_set_save_passwd (service, remember);
-
- /* set `remember' to TRUE because people don't want to have to
- re-enter their passwords for this session even if they told
- us not to cache their passwords in the dialog...*sigh* */
- remember = TRUE;
+ if (mca) {
+ mail_config_service_set_save_passwd (service, remember);
+
+ /* set `remember' to TRUE because people don't want to have to
+ re-enter their passwords for this session even if they told
+ us not to cache their passwords in the dialog...*sigh* */
+ remember = TRUE;
+ }
}
if (m->cache)