From 85dcfd1f8e40ac729fd7b0995d799bd59070839d Mon Sep 17 00:00:00 2001 From: Sushma Rai Date: Mon, 19 Dec 2005 14:15:11 +0000 Subject: 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 --- plugins/exchange-operations/exchange-account-setup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/exchange-operations/exchange-account-setup.c') 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); -- cgit v1.2.3