[GH-ISSUE #229] Feature request: add the ability to stay logged in for longer periods #170

Closed
opened 2026-02-25 23:33:36 +03:00 by kerem · 1 comment
Owner

Originally created by @imtbl on GitHub (Jan 16, 2020).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/229

The Remember me checkbox currently causes the session cookie to expire (and therefore a logout) after 12 hours, which can be quite annoying on private machines.

Please consider adding either an additional checkbox to stay logged in for longer periods (30 days? 90 days? a year even?) or consider adjusting the behavior of the existing one.

I think most people wouldn't expect to get logged out after just 12 hours after ticking a checkbox that says Remember me. On most sites this would at least mean several days, but usually around a month I'd think.

Originally created by @imtbl on GitHub (Jan 16, 2020). Original GitHub issue: https://github.com/go-shiori/shiori/issues/229 The _Remember me_ checkbox currently causes the session cookie to expire (and therefore a logout) [after 12 hours](https://github.com/go-shiori/shiori/blob/599afeaae06990f5d13e453ca8461d8cb810718e/internal/view/login.html#L86), which can be quite annoying on private machines. Please consider adding either an additional checkbox to stay logged in for longer periods (30 days? 90 days? a year even?) or consider adjusting the behavior of the existing one. I think most people wouldn't expect to get logged out after just 12 hours after ticking a checkbox that says _Remember me_. On most sites this would at least mean several days, but usually around a month I'd think.
Author
Owner

@deanishe commented on GitHub (Aug 6, 2020):

Agree. I think I changed my fork to 30 days. I'll increase the session expiry significantly, though as sessions are only stored in RAM, you'll still have to log in again after a restart.

<!-- gh-comment-id:670219071 --> @deanishe commented on GitHub (Aug 6, 2020): Agree. I think I changed my fork to 30 days. I'll increase the session expiry significantly, though as sessions are only stored in RAM, you'll still have to log in again after a restart.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#170
No description provided.