mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(user_ldap): fix lastLogin reading wrong appid and configkey
fetchDetails() was calling getValueInt($uid, 'user_ldap', 'email') instead of getValueInt($uid, 'login', 'lastLogin'), causing lastLogin to always return 0 for offline LDAP users. Fixes #58421 Signed-off-by: hamid <hamid@webpick.net>
This commit is contained in:
parent
4f2de60033
commit
353288de72
1 changed files with 1 additions and 1 deletions
|
|
@ -164,7 +164,7 @@ class OfflineUser {
|
|||
$this->foundDeleted = $this->userConfig->getValueInt($this->ocName, 'user_ldap', 'foundDeleted');
|
||||
$this->extStorageHome = $this->userConfig->getValueString($this->ocName, 'user_ldap', 'extStorageHome');
|
||||
$this->email = $this->userConfig->getValueString($this->ocName, 'user_ldap', 'email');
|
||||
$this->lastLogin = $this->userConfig->getValueInt($this->ocName, 'user_ldap', 'email');
|
||||
$this->lastLogin = $this->userConfig->getValueInt($this->ocName, 'login', 'lastLogin');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue