mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 03:45:25 +00:00
Monotone-Parent: 634e37b2a9c65da35917a38f3d78526a3b89c914
Monotone-Revision: a27c1cf8fb89e01d812714ba8c6294023c4e5fdf Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-08-12T20:18:11 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
2010-08-12 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* 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
|
||||
|
||||
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user