mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-06 04:20:33 +00:00
Monotone-Parent: 3d26091bec393e3abf8d2b6033e0737e09c207b9
Monotone-Revision: c110b42afb9f73f9a8ea6c766ec8e46b798c7316 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-02-22T18:37:58 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -88,6 +88,7 @@
|
||||
_viewURL = nil;
|
||||
_kindField = nil;
|
||||
_multipleBookingsField = nil;
|
||||
_imapHostField = nil;
|
||||
}
|
||||
|
||||
return self;
|
||||
@@ -103,6 +104,7 @@
|
||||
[_viewURL release];
|
||||
[_kindField release];
|
||||
[_multipleBookingsField release];
|
||||
[_imapHostField release];
|
||||
|
||||
[super dealloc];
|
||||
}
|
||||
@@ -118,6 +120,7 @@
|
||||
ASSIGN(_mailFields, [udSource objectForKey: @"MailFieldNames"]);
|
||||
ASSIGN(_userPasswordAlgorithm, [udSource objectForKey: @"userPasswordAlgorithm"]);
|
||||
ASSIGN(_imapLoginField, [udSource objectForKey: @"IMAPLoginFieldName"]);
|
||||
ASSIGN(_imapHostField, [udSource objectForKey: @"IMAPHostFieldName"]);
|
||||
ASSIGN(_kindField, [udSource objectForKey: @"KindFieldName"]);
|
||||
ASSIGN(_multipleBookingsField, [udSource objectForKey: @"MultipleBookingsFieldName"]);
|
||||
|
||||
@@ -505,6 +508,12 @@
|
||||
}
|
||||
|
||||
[response setObject: emails forKey: @"c_emails"];
|
||||
if (_imapHostField)
|
||||
{
|
||||
value = [response objectForKey: _imapHostField];
|
||||
if ([value isNotNull])
|
||||
[response setObject: value forKey: @"c_imaphostname"];
|
||||
}
|
||||
|
||||
// We check if the user can authenticate
|
||||
if (_authenticationFilter)
|
||||
|
||||
Reference in New Issue
Block a user