Freshrss: Suggestion: Make the login timeout larger than 30 days

Created on 2 Sep 2020  路  7Comments  路  Source: FreshRSS/FreshRSS

Currently, login expires after 30 days.
image

Having to login to my own service every 30 days is inconvenient, would it make sense to increase the timeout to be indefinite, or just a very long time? (1 year or longer)

All 7 comments

I agree about the default. Note that it can be adjusted (at the bottom):

Screenshot_2020-09-02_10-18-59

Do you think changing the default to 31536000 (365 days) would be a good new default then?

I think I identified the responsible files so I can send a PR.

EDIT: Went ahead and sent a PR

Could someone try to find a reference to a good practice somewhere?

It really differs from site to site, some examples I can think of:

  • Nextcloud does 1 year.
  • Helpscout(ticketing system) does 30 days, so does Runescape(game).
  • Google seems to refresh the cookies to keep them alive but requires password re-entry for certain actions or if the client changed too much (different device/browser on the same cookie).
  • Tt-rss expires the cookie on the smallest UA change (which is absolutely terrible UX considering browsers update often).
  • Some sites limit the cookie to an IP with an optional checkbox.
  • Some sites have indefinite or practically indefinite cookies.

I think 3 is about the minimum to avoid the worst of the "ugh, again!?" response.

We should look into refreshing the cookie. I actually thought we already were doing it :-P

Sorry for the delay; here is patch at last https://github.com/FreshRSS/FreshRSS/pull/3287
Please give it a try 馃巹

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cwldev picture cwldev  路  5Comments

Aasemoon picture Aasemoon  路  6Comments

Alkarex picture Alkarex  路  5Comments

mbnoimi picture mbnoimi  路  4Comments

Tealk picture Tealk  路  5Comments