aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations/exchange-account-setup.c
diff options
context:
space:
mode:
authorSushma Rai <rsushma@src.gnome.org>2005-12-19 22:15:11 +0800
committerSushma Rai <rsushma@src.gnome.org>2005-12-19 22:15:11 +0800
commit85dcfd1f8e40ac729fd7b0995d799bd59070839d (patch)
treee3e88edbd8cb9ca49c992c4f3429cea70c108fe8 /plugins/exchange-operations/exchange-account-setup.c
parent25393123affda80dddbeea3dbbbf89c1ce8657a6 (diff)
downloadgsoc2013-evolution-85dcfd1f8e40ac729fd7b0995d799bd59070839d.tar
gsoc2013-evolution-85dcfd1f8e40ac729fd7b0995d799bd59070839d.tar.gz
gsoc2013-evolution-85dcfd1f8e40ac729fd7b0995d799bd59070839d.tar.bz2
gsoc2013-evolution-85dcfd1f8e40ac729fd7b0995d799bd59070839d.tar.lz
gsoc2013-evolution-85dcfd1f8e40ac729fd7b0995d799bd59070839d.tar.xz
gsoc2013-evolution-85dcfd1f8e40ac729fd7b0995d799bd59070839d.tar.zst
gsoc2013-evolution-85dcfd1f8e40ac729fd7b0995d799bd59070839d.zip
Checking if the user has selected save password option or not and
accordingly prompting for the password whenever Evolution is restarted. Also, not asking for password twice during account creation. Fixes #324485. svn path=/trunk/; revision=30879
Diffstat (limited to 'plugins/exchange-operations/exchange-account-setup.c')
-rw-r--r--plugins/exchange-operations/exchange-account-setup.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/exchange-operations/exchange-account-setup.c b/plugins/exchange-operations/exchange-account-setup.c
index 383d5f6b13..2bbf963970 100644
--- a/plugins/exchange-operations/exchange-account-setup.c
+++ b/plugins/exchange-operations/exchange-account-setup.c
@@ -478,8 +478,10 @@ owa_authenticate_user(GtkWidget *button, EConfig *config)
print_error (owa_url, result);
camel_url_set_host (url, valid ? exchange_params->host : "");
- if (valid)
+ if (valid) {
camel_url_set_authmech (url, exchange_params->is_ntlm ? "NTLM" : "Basic");
+ camel_url_set_param (url, "save-passwd", remember_password? "true" : "false");
+ }
camel_url_set_param (url, "ad_server", valid ? exchange_params->ad_server: NULL);
camel_url_set_param (url, "mailbox", valid ? exchange_params->mailbox : NULL);
camel_url_set_param (url, "owa_path", valid ? exchange_params->owa_path : NULL);