devsnd / cherrymusic

Stream your own music collection to all your devices! The easy to use free and open-source music streaming server.
http://www.fomori.org/cherrymusic
GNU General Public License v3.0
1.03k stars 189 forks source link

User session is very short (24h) #667

Closed regisb closed 7 years ago

regisb commented 7 years ago

When I log in my user account, the session cookie I receive expires after 24h, which is very short. Indeed, the session timeout is hardcoded to 60 * 24 minutes in cherrymusic/__init__py. I would like to suggest to create a configuration parameter to adjust this timeout. If not specified, the timeout will be 24h.

Before I get started coding the thing, do we agree on the proposed solution?

devsnd commented 7 years ago

Hi régis,

yes 24h is quite short indeed. A configuration parameter is a good option, please go ahead and make the change, I will happily merge the pull request!

On Mar 23, 2017 2:24 PM, "Régis B." notifications@github.com wrote:

When I log in my user account, the session cookie I receive expires after 24h, which is very short. Indeed, the session timeout is hardcoded to 60 * 24 minutes in cherrymusic/initpy. I would like to suggest to create a configuration parameter to adjust this timeout. If not specified, the timeout will be 24h.

Before I get started coding the thing, do we agree on the proposed solution?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/devsnd/cherrymusic/issues/667, or mute the thread https://github.com/notifications/unsubscribe-auth/AB45en2hrcAwORTU24XLTfEPapfuHdPCks5ronJvgaJpZM4MmvMY .