From 0edb882b43e47b4541e7bdb0917968120088cb62 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 12 Aug 2010 20:18:11 +0000 Subject: [PATCH] Monotone-Parent: 634e37b2a9c65da35917a38f3d78526a3b89c914 Monotone-Revision: a27c1cf8fb89e01d812714ba8c6294023c4e5fdf Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-08-12T20:18:11 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ SoObjects/Mailer/SOGoMailAccount.m | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e4f4d81e5..924c965ec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2010-08-12 Wolfgang Sourdeau + * SoObjects/Mailer/SOGoMailAccount.m (-updateFilters): when the + first login attempt fails, we must request a new password to the + authenticator (as intended originally). + * UI/WebServerResources/generic.js: (onAjaxRequestStateChange): when using CAS authentication and when the return code is 0 and when the request status is 4, chances are that the initial ajax diff --git a/SoObjects/Mailer/SOGoMailAccount.m b/SoObjects/Mailer/SOGoMailAccount.m index f94e0be8d..5a38ed1fc 100644 --- a/SoObjects/Mailer/SOGoMailAccount.m +++ b/SoObjects/Mailer/SOGoMailAccount.m @@ -356,7 +356,7 @@ static NSString *sieveScriptName = @"sogo"; result = [client login: [[self imap4URL] user] password: password]; if (![[result valueForKey:@"result"] boolValue]) { [self errorWithFormat: @"failure. Attempting with a renewed password."]; - password = [self imap4PasswordRenewed: NO]; + password = [self imap4PasswordRenewed: YES]; result = [client login: [[self imap4URL] user] password: password]; }