See ChangeLog

Monotone-Parent: dc704fb10726eca5edd9213a64dd7edc139de7b4
Monotone-Revision: e2ddde80cf09d9a5bf1b305a56dc3de54da2cddd

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-07-15T10:06:47
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2011-07-15 10:06:47 +00:00
parent bed667434c
commit 73eaacff63
2 changed files with 8 additions and 2 deletions
+2 -2
View File
@@ -156,10 +156,10 @@
if (r.location != NSNotFound)
{
// The domain is probably appended to the username;
// make sure it is a defined domain in the configuration.
// make sure it is defined as a login domain in the configuration.
sd = [SOGoSystemDefaults sharedSystemDefaults];
domain = [newLogin substringFromIndex: (r.location + r.length)];
if ([[sd domainIds] containsObject: domain])
if ([[sd loginDomains] containsObject: domain])
newLogin = [newLogin substringToIndex: r.location];
else
domain = nil;