Auto sign-out
Opened this issue · 1 comments
johnnyjoygh commented
Discussed in https://github.com/orgs/usememos/discussions/4075
Originally posted by rathmannm October 31, 2024
Hi,
I'm storing sensitive contents in Memos so it would be nice to have an auto sign-out feature where you can specify after how many minutes you get signed out automatically.
JodhwaniMadhur commented
can someone tell me about the DB structure and a bit of the API documentation?
my plan to implement this is to store the last-login-time and log-out-after data in the db and check if the curr-time subracted from the last-login time is greater than the log-out-after time and log out the user based on that.
we can add the UI for setting the "log out after time" in the preferences page.