mirror of
https://github.com/nextcloud/server.git
synced 2026-04-20 22:00:39 -04:00
Merge pull request #12070 from nextcloud/fix/noid/announce-chosen-uid
announce the chosen uid (fixes wrong variable usage)
This commit is contained in:
commit
31ccf8580a
1 changed files with 3 additions and 3 deletions
|
|
@ -624,9 +624,9 @@ class Access extends LDAPUtility implements IUserTools {
|
|||
$this->connection->setConfiguration(['ldapCacheTTL' => $originalTTL]);
|
||||
|
||||
$altName = $this->createAltInternalOwnCloudName($intName, $isUser);
|
||||
if(is_string($altName) && $mapper->map($fdn, $altName, $uuid)) {
|
||||
if($this->ncUserManager instanceof PublicEmitter && $isUser) {
|
||||
$this->ncUserManager->emit('\OC\User', 'assignedUserId', [$intName]);
|
||||
if (is_string($altName) && $mapper->map($fdn, $altName, $uuid)) {
|
||||
if ($this->ncUserManager instanceof PublicEmitter && $isUser) {
|
||||
$this->ncUserManager->emit('\OC\User', 'assignedUserId', [$altName]);
|
||||
}
|
||||
$newlyMapped = true;
|
||||
return $altName;
|
||||
|
|
|
|||
Loading…
Reference in a new issue