[evolution-patches] Simple exchange fix



We were not forgetting the password, when the user does not select
"Remember this password". This behaviour is seen only when we move from
online->offline->online only. This patch fixes this behaviour.

--Sarfraaz

Regards
Sarfraaz Ahmed
Index: storage/exchange-account.c
===================================================================
RCS file: /cvs/gnome/evolution-exchange/storage/exchange-account.c,v
retrieving revision 1.39
diff -u -p -u -r1.39 exchange-account.c
--- storage/exchange-account.c	11 Mar 2005 07:50:21 -0000	1.39
+++ storage/exchange-account.c	30 Mar 2005 10:29:53 -0000
@@ -866,6 +860,8 @@ get_password (ExchangeAccount *account, 
 					E_PASSWORDS_REMEMBER_FOREVER|E_PASSWORDS_SECRET,
 					&remember, 
 					NULL);
+			if (!remember)
+				e_passwords_forget_password ("Exchange", account->priv->password_key);
 			if (remember != oldremember) {
 				account->priv->account->source->save_passwd = remember;
 			}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]