Return milliseconds instead of seconds for lastLogin - refs #14005
This commit is contained in:
parent
9271059195
commit
3c75a440a6
|
@ -154,7 +154,7 @@ class UsersController extends Controller {
|
|||
'subadmin' => \OC_SubAdmin::getSubAdminsGroups($user->getUID()),
|
||||
'quota' => $this->config->getUserValue($user->getUID(), 'files', 'quota', 'default'),
|
||||
'storageLocation' => $user->getHome(),
|
||||
'lastLogin' => $user->getLastLogin(),
|
||||
'lastLogin' => $user->getLastLogin() * 1000,
|
||||
'backend' => $user->getBackendClassName(),
|
||||
'email' => $this->config->getUserValue($user->getUID(), 'settings', 'email', ''),
|
||||
'isRestoreDisabled' => !$restorePossible,
|
||||
|
|
Loading…
Reference in New Issue