iftechfoundation / ifarchive-admintool

Admin script for IF Archive work
1 stars 1 forks source link

Session refresh #15

Closed erkyrath closed 8 months ago

erkyrath commented 9 months ago

Refresh user sessions, so that your login cookie only expires after a week of inactivity. (Currently you have to re-log-in every ten days.)

Also, retain the username as a permanent cookie. Autofill that on the login form.

erkyrath commented 8 months ago

Refresh should be working now. After five days, if you visit the site, your session (and cookie) are silently extended to a new ten-day span. (If you don't visit for ten days, it expires.)

erkyrath commented 8 months ago

Username cookie is there too. It won't be set until the next time you (manually) log in, though.