-
Notifications
You must be signed in to change notification settings - Fork 67
Logout after inactivity #11596
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
Logout after inactivity #11596
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should be setting expiration_at
and not bringing back peacefully expired. See #8950
The job malted wrote wouldn't have worked well because of the timing of expiration so I refactored the logic to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! @davidcornu can you take a quick look?
Co-authored-by: Sam Poder <[email protected]>
Co-authored-by: David Cornu <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Save for #11596 (comment), LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question: Does this mean that someone would keep a session forever alive? I feel like we should at least force users to sign in every X period (maybe at least every months; or 2 weeks).
|
Thanks for surfacing that comment. I do strongly believe that there must be a hard time limit on sessions. We shouldn't allow sessions to exist forever. |
I would agree with that. |
@sampoder, did you have any further thoughts here? |
Summary of the problem
Closes #7258

Supersedes #7303 and #7408
Describe your changes