RocketChat / RocketChat/Rocket.Chat
Field LastLogin in users.list not available anymore
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
Our scripts are not working more. We look for the field "lastlogin" in the API call users.list. But since the update to version 3.14.5 the field is not available. We need this field urgent for our scripts.
Steps to reproduce:
- API Call users.list
- Look in the user information
- the field "lastlogin" is not available
Expected behavior:
Show last Login for any usersActual behavior:
don´t show the last login field and so our scripts are not runningServer Setup Information:
- Version of Rocket.Chat Server: 3.14.5 & 3.16.1
- Operating System: Ubuntu
- Deployment Method:
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: v12.22.1
- MongoDB Version: 4.0.22
Client Setup Information
- Desktop App or Browser Version:
- Operating System:
Additional context
Relevant logs:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the missing field through the users.list API call on the reported Rocket.Chat versions, then trace that endpoint's user information response. Done means restoring lastlogin for users and confirming the response with a regression test; the payload does not name a source file or existing test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100