Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update last_login timestamp for token based-logins #45020

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Noodlesalat
Copy link
Member

Summary

Currently, the last login timestamp of a user is only updated when he logs in with his password. Since token-based logins do not update the timestamp, it may appear as if the user is inactive although he is regularly logged in with token-based clients (desktop client, mobile app, ...).

For this reason, the last_login timestamp should be updated for each individual login.

Checklist

@Noodlesalat Noodlesalat force-pushed the fix-lastlogin-update-token-login branch from 8365296 to 59c4b24 Compare April 24, 2024 20:46
fixes nextcloud#31075 and maybe nextcloud#32953

Signed-off-by: Fabian Dreßler <nudelsalat@clouz.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants