mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
bugfix: changed forgotten userName, to getUsername
Signed-off-by: Marc Hefter <marchefter@march42.net> Signed-off-by: Marc Hefter <marchefter@gmail.com>
This commit is contained in:
parent
eee0275dc5
commit
c7623c7869
1 changed files with 2 additions and 2 deletions
|
|
@ -633,10 +633,10 @@ class User {
|
|||
// setVerified(IAccountManager::VERIFIED);
|
||||
}
|
||||
} catch (PropertyDoesNotExistException $e) {
|
||||
$this->logger->error('property does not exist: '.$profileProperty.' for user '.$userName.'', ['app' => 'user_ldap']);
|
||||
$this->logger->error('property does not exist: '.$profileProperty.' for user '.$this->getUsername().'', ['app' => 'user_ldap']);
|
||||
return;
|
||||
}
|
||||
$this->logger->debug('property updated: '.$profileProperty.'='.$propertyValue.' for user '.$userName.'', ['app' => 'user_ldap']);
|
||||
$this->logger->debug('property updated: '.$profileProperty.'='.$propertyValue.' for user '.$this->getUsername().'', ['app' => 'user_ldap']);
|
||||
$this->config->setUserValue($this->getUsername(), 'user_ldap', $property, $value);
|
||||
return $value;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue