mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-12 20:00:47 +00:00
(feat) applied all changes as a patch coming from PR #180
This commit is contained in:
1 parent
d05fd407bd
commit
ae6ed0c055
55 files changed
+2397
-1243
No files matched your search
@@ -41,6 +41,7 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#import "SOGoSystemDefaults.h"
|
||||
#import "SOGoUserManager.h"
|
||||
|
||||
@implementation SOGoSession
|
||||
|
||||
@@ -262,7 +263,7 @@
|
||||
// The domain is probably appended to the username;
|
||||
// make sure it is defined as a domain in the configuration.
|
||||
*theDomain = [*theLogin substringFromIndex: (r.location + r.length)];
|
||||
if (![[sd domainIds] containsObject: *theDomain])
|
||||
if (![[SOGoUserManager sharedUserManager] isDomainDefined: *theDomain])
|
||||
*theDomain = nil;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user