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

/login update access_time, status #133

Open
wants to merge 1 commit into
base: release-v0.3_0.18
Choose a base branch
from

Conversation

TheTrunk
Copy link

Upon calling /login endpoint update

  • access_time
  • status to active

This is a step for automation that I think many users might appreciate. We are used to put accounts in an inactive status after some time period has passed. When user logs in back into the solution, we want their account to become active again. These little changes are thus helpful and needed for our automation.

Ideally this should be behind some flag, just raising the PR as I got other devs asking to show an example solution.

@vtnerd
Copy link
Owner

vtnerd commented Oct 3, 2024

Can this be re-opened on the develop branch? I'll then backport to master and release-v0.3_0.18 branches.

@vtnerd
Copy link
Owner

vtnerd commented Oct 3, 2024

Nevermind, I see this was done mainly as an example. I'm not sure if the default behavior should be to do another disk I/O to change state into active. The other call - to update access time - should likely be added upstream.

@TheTrunk TheTrunk changed the base branch from release-v0.3_0.18 to develop October 4, 2024 01:47
@TheTrunk TheTrunk changed the base branch from develop to release-v0.3_0.18 October 4, 2024 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants