(fix) do not rewrite the username when using the session from the db
parent
b43c3f6d98
commit
ce3d55d2cc
|
@ -261,9 +261,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])
|
||||
*theLogin = [*theLogin substringToIndex: r.location];
|
||||
else
|
||||
if (![[sd domainIds] containsObject: *theDomain])
|
||||
*theDomain = nil;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue