mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-20 10:28:12 +00:00
Added isDomainDefined
To check whether a domain is supported by our defined sources
This commit is contained in:
1 parent
9d3f3c619d
commit
bf4a581d0f
4 files changed
+34
-3
No files matched your search
@@ -165,7 +165,7 @@
|
||||
// The domain is probably appended to the username;
|
||||
// make sure it is defined as a domain in the configuration.
|
||||
domain = [newLogin substringFromIndex: (r.location + r.length)];
|
||||
if ([[sd domainIds] containsObject: domain] &&
|
||||
if ([[SOGoUserManager sharedUserManager] isDomainDefined: domain] &&
|
||||
![sd enableDomainBasedUID])
|
||||
newLogin = [newLogin substringToIndex: r.location];
|
||||
|
||||
|
||||
Reference in new issue
Block a user